@zohoim/client-sdk 1.0.0-poc33 → 1.0.0-poc34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/domain/services/bots/BotService.js +1 -1
- package/es/domain/services/channels/ChannelAgentService.js +1 -1
- package/es/domain/services/channels/ChannelService.js +1 -1
- package/es/infrastructure/api/channels/ChannelAPI.js +1 -1
- package/es/infrastructure/api/channels/ChannelAgentAPI.js +1 -1
- package/package.json +1 -1
|
@@ -19,7 +19,7 @@ export default class ChannelAgentService extends IChannelAgent {
|
|
|
19
19
|
|
|
20
20
|
async getAgents(request) {
|
|
21
21
|
const channelAgents = await this.channelAgentAPI.getAgents(request);
|
|
22
|
-
return channelAgents.map(this.channelAgentAdapter.adapt);
|
|
22
|
+
return channelAgents.data.map(this.channelAgentAdapter.adapt);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
toJSON() {
|
|
@@ -19,7 +19,7 @@ export default class ChannelService extends IChannel {
|
|
|
19
19
|
|
|
20
20
|
async getChannels(request) {
|
|
21
21
|
const channels = await this.channelAPI.getChannels(request);
|
|
22
|
-
return channels.map(channel => this.channelAdapter.adapt(channel));
|
|
22
|
+
return channels.data.map(channel => this.channelAdapter.adapt(channel));
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
toJSON() {
|