Fix retrieve tasks (#109)

Co-authored-by: AceDataCloud <office@acedata.cloud>
This commit is contained in:
GermeyandAceDataCloud authored and GitHub committed 2024-08-16 15:41:24 +08:00
1 parent 0831e3e181
commit acc99514ca
12 files changed
+45 -15

No files matched your search

+3 -2
View File
@@ -103,7 +103,8 @@ export const getApplications = async ({
export const getConversations = async ({
commit,
state
state,
rootState
}: ActionContext<IChatState, IRootState>): Promise<IChatConversation[]> => {
return new Promise((resolve, reject) => {
state.status.getConversations = Status.Request;
@@ -117,7 +118,7 @@ export const getConversations = async ({
chatOperator
.getConversations(
{
applicationId: state.application?.id
userId: rootState.user?.id
},
{
token