Skip to content

Commit

Permalink
data is FileLock
Browse files Browse the repository at this point in the history
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
  • Loading branch information
ArtificialOwl committed Sep 28, 2023
1 parent 7b1827a commit d17f4f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Controller/LockController.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function unlocking(string $fileId): DataResponse {
$lock = $this->lockService->getLockFromFileId((int)$fileId);
$response = new DataResponse();
$response->setStatus(Http::STATUS_LOCKED);
$response->setData($lock->jsonSerialize());
$response->setData($lock);
return $response;
} catch (Exception $e) {
return $this->fail($e);
Expand Down

0 comments on commit d17f4f4

Please sign in to comment.