File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
apps/files_reminders/lib/Controller Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ public function get(int $fileId): DataResponse {
57
57
'dueDate ' => $ reminder ->getDueDate ()->format (DateTimeInterface::ATOM ), // ISO 8601
58
58
];
59
59
return new DataResponse ($ reminderData , Http::STATUS_OK );
60
- } catch (NodeNotFoundException | DoesNotExistException $ e ) {
60
+ } catch (NodeNotFoundException | DoesNotExistException $ e ) {
61
61
$ reminderData = [
62
62
'dueDate ' => null ,
63
63
];
@@ -125,7 +125,7 @@ public function remove(int $fileId): DataResponse {
125
125
try {
126
126
$ this ->reminderService ->remove ($ user , $ fileId );
127
127
return new DataResponse ([], Http::STATUS_OK );
128
- } catch (NodeNotFoundException | DoesNotExistException $ e ) {
128
+ } catch (NodeNotFoundException | DoesNotExistException $ e ) {
129
129
return new DataResponse ([], Http::STATUS_NOT_FOUND );
130
130
}
131
131
}
You can’t perform that action at this time.
0 commit comments