testing auth

This commit is contained in:
kyle hoell
2020-12-08 06:58:03 -05:00
parent 09e930cf63
commit 849e726201
+2
View File
@@ -26,6 +26,8 @@ const auth = async(req: RequestType, res: Response, next: NextFunction) => {
try {
console.log("auth up address", req.clientIp);
const accessToken = req.cookies["access-token"];
if (!accessToken) throw new Error("No Access Token");