Browse Source

fix for adding Venue channels

develop
Rob Colbert 10 months ago
parent
commit
b2fdd1f617
  1. 3
      app/services/venue.js

3
app/services/venue.js

@ -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();
}

Loading…
Cancel
Save