mirror of
https://codeberg.org/SeedDMS/paperless
synced 2024-11-26 15:32:08 +00:00
deletion of document return status code 204
This commit is contained in:
parent
fbecd128ce
commit
f945931298
|
@ -916,7 +916,7 @@ class SeedDMS_ExtPaperless_RestAPI_Controller { /* {{{ */
|
||||||
$notifier->sendDeleteDocumentMail($document, $userobj);
|
$notifier->sendDeleteDocumentMail($document, $userobj);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $response->withStatus(200);
|
return $response->withStatus(204);
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user