bug fixes

This commit is contained in:
carodej
2020-08-05 16:51:44 +02:00
parent fc2c4de50f
commit fb790200d4
7 changed files with 21 additions and 14 deletions

View File

@@ -20,8 +20,8 @@ class ShareResource extends JsonResource
'type' => 'shares',
'attributes' => [
'permission' => $this->permission,
'protected' => $this->protected,
'item_id' => $this->item_id,
'protected' => (int) $this->protected,
'item_id' => (int) $this->item_id,
'token' => $this->token,
'link' => $this->link,
'type' => $this->type,