mirror of
https://github.com/balzack/databag.git
synced 2025-04-25 11:05:27 +00:00
implementing focus module
This commit is contained in:
parent
0fd6e9920d
commit
a861549011
@ -513,7 +513,7 @@ export class FocusModule implements Focus {
|
||||
}
|
||||
const { node, secure, token } = this.connection
|
||||
if (cardId) {
|
||||
return await getContactChannelTopicDetail(node, secure, token, cardId, channelId, topicId);
|
||||
return await getContactChannelTopicDetail(node, secure, token, channelId, topicId);
|
||||
} else {
|
||||
return await getChannelTopicDetail(node, secure, token, channelId, topicId);
|
||||
}
|
||||
@ -526,7 +526,7 @@ export class FocusModule implements Focus {
|
||||
}
|
||||
const { node, secure, token } = this.connection;
|
||||
if (cardId) {
|
||||
return await addContactChannelTopic(node, secure, token, cardId, channelId, dataType, data, confirm);
|
||||
return await addContactChannelTopic(node, secure, token, channelId, dataType, data, confirm);
|
||||
} else {
|
||||
return await addChannelTopic(node, secure, token, channelId, dataType, data, confirm);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user