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