Skip to content

Commit 63ebda9

Browse files
authored
Merge pull request #10 from maxceem/hotfix/create-attachments
[HOTFIX] [DEV] create attachments
2 parents 543b505 + e54c9ac commit 63ebda9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/services/ProcessorServiceAttachment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function createSchema () {
4040
category: Joi.string().optional().allow(null).allow(''),
4141
size: Joi.number().optional().allow(null),
4242
contentType: Joi.string().required(),
43-
downloadUrl: Joi.string().required()
43+
filePath: Joi.string().required()
4444
})
4545
}
4646

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"topic":"project.action.create","originator":"project-api","timestamp":"2019-06-21T04:41:17.702Z","mime-type":"application/json","payload":{"resource":"attachment","createdAt":"2019-06-21T04:41:17.637Z","updatedAt":"2019-06-21T04:41:17.637Z","id":1,"projectId":1,"allowedUsers":null,"createdBy":40051333,"updatedBy":40051333,"title":"first attachment submission","size":null,"category":null,"description":null,"contentType":"application/png","deletedBy":null,"downloadUrl":"projects/1/projects/asdasd.png"}}
1+
{"topic":"project.action.create","originator":"project-api","timestamp":"2019-06-21T04:41:17.702Z","mime-type":"application/json","payload":{"resource":"attachment","createdAt":"2019-06-21T04:41:17.637Z","updatedAt":"2019-06-21T04:41:17.637Z","id":1,"projectId":1,"allowedUsers":null,"createdBy":40051333,"updatedBy":40051333,"title":"first attachment submission","size":null,"category":null,"description":null,"contentType":"application/png","deletedBy":null,"filePath":"projects/1/projects/asdasd.png"}}

0 commit comments

Comments
 (0)