mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-13 00:14:02 +00:00
fix: delete all method type
This commit is contained in:
1 parent
c96f905d2b
commit
d1dedff9ca
1 file changed
+2
-2
@@ -23,8 +23,8 @@ const conversationService = {
|
||||
apiClient.get(endpoints.CONVERSATION.SHARED_CONVERSATION(identifier)),
|
||||
delete: (id: string, data: any): Promise<any> =>
|
||||
apiClient.post(endpoints.CONVERSATION.DELETE(id), data),
|
||||
deleteAll: (data: any): Promise<any> =>
|
||||
apiClient.post(endpoints.CONVERSATION.DELETE_ALL, data),
|
||||
deleteAll: (): Promise<any> =>
|
||||
apiClient.get(endpoints.CONVERSATION.DELETE_ALL),
|
||||
update: (data: any): Promise<any> =>
|
||||
apiClient.post(endpoints.CONVERSATION.UPDATE, data),
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user