|
|
|
@ -92,12 +92,13 @@ class VenueService extends SiteService {
|
|
|
|
|
widgetKey: channelDefinition['credentials.widgetKey'].trim(),
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const status = await this.updateChannelStatus(channel);
|
|
|
|
|
channel.name = status.name;
|
|
|
|
|
channel.description = status.description;
|
|
|
|
|
|
|
|
|
|
await channel.save();
|
|
|
|
|
|
|
|
|
|
channel.currentStatus = await this.updateChannelStatus(channel);
|
|
|
|
|
channel.currentStatus = status;
|
|
|
|
|
|
|
|
|
|
return channel.toObject();
|
|
|
|
|
}
|
|
|
|
|