added userId and relativePath attributes to DiffTask

This commit is contained in:
Jonathan Treffler 2024-01-23 21:52:33 +01:00 committed by root
parent 2b64e8969a
commit 7630f056ec

View file

@ -9,6 +9,7 @@ class DiffTask extends Entity implements JsonSerializable {
protected $userId;
protected $groupfolderId;
protected $relativePath;
protected $snapshotId;
protected $timestamp;
@ -20,7 +21,9 @@ class DiffTask extends Entity implements JsonSerializable {
public function jsonSerialize() {
return [
'id' => $this->id,
'userId' => $this->userId,
'groupfolderId' => $this->groupfolderId,
'relativePath' => $this->relativePath,
'snapshotId' => $this->snapshotId,
'timestamp' => $this->timestamp,
];