Skip to content

Commit

Permalink
comment a breaking change until the client update
Browse files Browse the repository at this point in the history
  • Loading branch information
siftal committed Aug 14, 2022
1 parent 0258e28 commit e3c0bfc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion web_services/profile/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,11 @@ app.get("/list/:channelId", function (req, res, next) {
// get channel
const channel = channelCache.get(channelId);
if (!channel) {
res.status(404).json({error: `channelId ${channelId} not found`})
// It's a breaking change and should apply after the client update
// res.status(404).json({error: `channelId ${channelId} not found`})
res.json({
profileIds: [],
});
return;
}

Expand Down

0 comments on commit e3c0bfc

Please sign in to comment.