diff options
author | Marcos Zuriaga <wolfi@wolfi.es> | 2016-10-09 15:52:23 +0300 |
---|---|---|
committer | Marcos Zuriaga <wolfi@wolfi.es> | 2016-10-09 15:52:23 +0300 |
commit | bc0f47a8e5b30b5d51620de08ea79ebae453fbe3 (patch) | |
tree | 61791bdba0bd60175097642dd1ef845c26902d31 /lib | |
parent | ba259c350cc1478bdc72b38aaca81a4362b3680f (diff) |
Unit tests for ShareRequest model
Fixes bug with asACLJson result data in sharerequest
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Db/ShareRequest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Db/ShareRequest.php b/lib/Db/ShareRequest.php index df7947be..2115a0ce 100644 --- a/lib/Db/ShareRequest.php +++ b/lib/Db/ShareRequest.php @@ -85,7 +85,7 @@ class ShareRequest extends PermissionEntity implements \JsonSerializable { 'user_id' => $this->getTargetUserId(), 'created' => $this->getCreated(), 'permissions' => $this->getPermissions(), - 'vault_id' => $this->getTargetUserId(), + 'vault_id' => $this->getTargetVaultId(), 'vault_guid' => $this->getTargetVaultGuid(), 'shared_key' => $this->getSharedKey(), 'pending' => true, |