Skip to content

Commit

Permalink
fix: Update param name for attachments (chatwoot#2921)
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavrajs authored Aug 31, 2021
1 parent 65f3e83 commit 588f49c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions swagger/paths/conversation/messages/create_attachment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ post:
- Messages
operationId: conversationNewMessageAttachment
summary: Create New Message Attachment
description: Create an attachment Message
description: Create an attachment message. Refer to this discussion if you have any further doubts. https://github.com/chatwoot/chatwoot/discussions/1809#discussioncomment-1211845
consumes:
- multipart/form-data
security:
Expand All @@ -27,7 +27,7 @@ post:
type: boolean
description: Flag to identify if it is a private note
- in: formData
name: attachments
name: attachments[]
type: array
description: The files to be uploaded.
items:
Expand Down
4 changes: 2 additions & 2 deletions swagger/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -2109,7 +2109,7 @@
],
"operationId": "conversationNewMessageAttachment",
"summary": "Create New Message Attachment",
"description": "Create an attachment Message",
"description": "Create an attachment message. Refer to this discussion if you have any further doubts. https://github.com/chatwoot/chatwoot/discussions/1809#discussioncomment-1211845",
"consumes": [
"multipart/form-data"
],
Expand Down Expand Up @@ -2156,7 +2156,7 @@
},
{
"in": "formData",
"name": "attachments",
"name": "attachments[]",
"type": "array",
"description": "The files to be uploaded.",
"items": {
Expand Down

0 comments on commit 588f49c

Please sign in to comment.