Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/deck.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Service/AttachmentService.php')
-rw-r--r--lib/Service/AttachmentService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/AttachmentService.php b/lib/Service/AttachmentService.php
index f9eb9682..b563f0bc 100644
--- a/lib/Service/AttachmentService.php
+++ b/lib/Service/AttachmentService.php
@@ -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);