Merge pull request #4184 from nextcloud/bugfix/noid/integration-validators

This commit is contained in:
Marcel Klehr
2022-11-09 14:12:33 +01:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -194,7 +194,7 @@ class AttachmentService {
* @throws BadRequestException
*/
public function create($cardId, $type, $data) {
$this->attachmentServiceValidator->check(compact('cardId', 'type', 'data'));
$this->attachmentServiceValidator->check(compact('cardId', 'type'));
$this->permissionService->checkPermission($this->cardMapper, $cardId, Acl::PERMISSION_EDIT);