mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 00:23:17 +00:00
fix: delete all method type
This commit is contained in:
@@ -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