Added checks for CLOUD_MODE.

This commit is contained in:
Mike Cao committed 2023-02-28 20:04:07 -08:00
1 parent 5657a64c77
commit 3ac560dc0f
24 files changed
+175 -60

No files matched your search

+2 -2
View File
@@ -8,9 +8,9 @@ import {
getRandomChars,
} from 'next-basics';
import redis from '@umami/redis-client';
import { getUser, User } from 'queries';
import { getUser } from 'queries';
import { secret } from 'lib/crypto';
import { NextApiRequestQueryBody } from 'lib/types';
import { NextApiRequestQueryBody, User } from 'lib/types';
import { NextApiResponse } from 'next';
export interface LoginRequestBody {