1
0
Fork 0
mirror of synced 2024-06-29 11:40:45 +12:00

added read and write permissions

This commit is contained in:
gepd 2022-06-20 20:41:12 -04:00 committed by GitHub
parent 9dab76f357
commit c2ce37e6f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2213,6 +2213,8 @@ trait DatabaseBase
'data' => [
'title' => 'Captain America',
],
'read' => ['user:' . $this->getUser()['$id']],
'write' => ['user:' . $this->getUser()['$id']],
]);
$id = $document['body']['$id'];