Fix retrieve tasks (#109)
Co-authored-by: AceDataCloud <office@acedata.cloud>
This commit is contained in:
1 parent
0831e3e181
commit
acc99514ca
12 files changed
+45
-15
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user