cleaning up api and testing getting conversations and such

This commit is contained in:
talksik
2022-06-11 10:18:27 -05:00
parent e39316eeff
commit c898402b31
5 changed files with 59 additions and 4 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ export const authCheck = async (req: Request, res: Response, next: NextFunction)
const { authorization } = req.headers;
if (!authorization) {
throw Error('No provided header');
throw Error('No provided auth header');
}
// verify jwt token with our api secret