1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-10 11:24:35 +00:00

chore: quick fix

This commit is contained in:
Saad Jutt
2022-05-27 17:35:58 +05:00
parent 2c259fe1de
commit 0470239ef1

View File

@@ -10,7 +10,7 @@ export const authenticateAccessToken: RequestHandler = async (
next
) => {
const { MODE } = process.env
if (MODE === ModeType.Server) {
if (MODE === ModeType.Desktop) {
req.user = desktopUser
return next()
}