Merge remote-tracking branch 'origin/v2' into v2
This commit is contained in:
commit
f0ef375010
@ -134,9 +134,5 @@ class ChatView(APIView):
|
|||||||
responses=None,
|
responses=None,
|
||||||
tags=[_('Application')] # type: ignore
|
tags=[_('Application')] # type: ignore
|
||||||
)
|
)
|
||||||
@has_permissions(
|
|
||||||
PermissionConstants.APPLICATION_DEBUG,
|
|
||||||
RoleConstants.USER.get_workspace_role(),
|
|
||||||
RoleConstants.WORKSPACE_MANAGE.get_workspace_role())
|
|
||||||
def post(self, request: Request, chat_id: str):
|
def post(self, request: Request, chat_id: str):
|
||||||
return DebugChatSerializers(data={'chat_id': chat_id}).chat(request.data)
|
return DebugChatSerializers(data={'chat_id': chat_id}).chat(request.data)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user