Skip to content

Commit

Permalink
[mirotalkc2c] - add log
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpejic85 committed Oct 26, 2024
1 parent a8c9830 commit e0a08f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/mattermost.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ class mattermost {
//
const { token, text, command, channel_id } = req.body;
if (token !== this.token) {
log.error('Invalid token attempt', { token });
return res.status(403).send('Invalid token');
}

Expand Down

0 comments on commit e0a08f9

Please sign in to comment.