1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-03 21:10:05 +00:00

chore: fixed specs

This commit is contained in:
Saad Jutt
2022-07-05 03:26:37 +05:00
parent 0b759a5594
commit 451cb4f6dd
7 changed files with 19 additions and 14 deletions

View File

@@ -68,7 +68,7 @@ const authenticateToken = (
tokenType: 'accessToken' | 'refreshToken'
) => {
const { MODE } = process.env
if (MODE?.trim() !== 'server') {
if (MODE === ModeType.Desktop) {
req.user = {
userId: 1234,
clientId: 'desktopModeClientId',