Skip to content

Commit 85932b6

Browse files
committed
fix bug in attachment controller
1 parent 5c37e41 commit 85932b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/attachment-controller/attachment_controller/protocol_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ async def send_attachment(self, connection_id, data):
1515
await self.connections.is_active(connection_id)
1616

1717
path = f"/connections/{connection_id}/send-attachment"
18-
return await self.admin_POST(path, data=data)
18+
return await self.admin_POST(path, json_data=data)
1919

2020
# async def store_attachment(self,data):
2121

0 commit comments

Comments
 (0)