Commit aac9690c authored by Jacob Priddy's avatar Jacob Priddy 👌
Browse files

Merge branch 'master' of gitlab.cs.wallawalla.edu:elock/doorcode

parents c8570a52 a4ecb9ae
Pipeline #11217 passed with stages
in 2 minutes and 53 seconds
......@@ -61,8 +61,8 @@ class OverridesController extends ApiController
$this->authorizer->protect(Permissions::MANAGE_DOORS);
$this->validate($this->request, [
'reason' => 'string|max:1024',
'start' => 'date|required_if:end|before:end',
'end' => 'date|required_if:start|after:start',
'start' => 'date|required_with:end|before:end',
'end' => 'date|required_with:start|after:start',
]);
$presenter = new OverrideCreateApiPresenter();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment