Skip to content

Commit c4a5e24

Browse files
authored
fix: report_id is is a uuid (#105)
1 parent f97cee8 commit c4a5e24

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stream_chat/async_chat/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ async def _query_flag_reports(self, **options: Any) -> StreamResponse:
216216
return await self.post("moderation/reports", data=data)
217217

218218
async def _review_flag_report(
219-
self, report_id: int, review_result: str, user_id: str, **details: Any
219+
self, report_id: str, review_result: str, user_id: str, **details: Any
220220
) -> StreamResponse:
221221
"""
222222
Note: Do not use this.

stream_chat/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def _query_flag_reports(self, **options: Any) -> StreamResponse:
205205
return self.post("moderation/reports", data=data)
206206

207207
def _review_flag_report(
208-
self, report_id: int, review_result: str, user_id: str, **details: Any
208+
self, report_id: str, review_result: str, user_id: str, **details: Any
209209
) -> StreamResponse:
210210
"""
211211
Note: Do not use this.

0 commit comments

Comments
 (0)