mirror of
https://github.com/sasjs/server.git
synced 2025-12-11 03:34:35 +00:00
chore: quick fix
This commit is contained in:
@@ -10,7 +10,7 @@ export const authenticateAccessToken: RequestHandler = async (
|
|||||||
next
|
next
|
||||||
) => {
|
) => {
|
||||||
const { MODE } = process.env
|
const { MODE } = process.env
|
||||||
if (MODE === ModeType.Server) {
|
if (MODE === ModeType.Desktop) {
|
||||||
req.user = desktopUser
|
req.user = desktopUser
|
||||||
return next()
|
return next()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user