fix small issues in the code (#145)

Co-authored-by: eglehelms <e.helms@cognigy.com>
This commit is contained in:
EgleHandeglehelms authored and GitHub committed 2023-04-06 07:31:14 -04:00
1 parent b2dce18c7a
commit 9c7f8b4e7b
4 files changed
+19 -3

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ router.get('/:sid', async(req, res) => {
if (req.user.hasAccountAuth) {
/* can only update carriers for the user's account */
if (results[0].account_sid != req.user.account_sid) {
if (results[0].account_sid !== req.user.account_sid) {
throw new DbErrorForbidden('insufficient privileges');
}
}