Revert uuid.

This commit is contained in:
Mike Cao 2023-07-28 17:21:34 -07:00
parent 1f2da530c9
commit bd9ff9a0df
15 changed files with 31 additions and 16 deletions

View file

@ -4,14 +4,13 @@ import {
badRequest,
parseSecureToken,
tooManyRequest,
isUuid,
} from 'next-basics';
import debug from 'debug';
import cors from 'cors';
import redis from '@umami/redis-client';
import { findSession } from 'lib/session';
import { getAuthToken, parseShareToken } from 'lib/auth';
import { secret } from 'lib/crypto';
import { secret, isUuid } from 'lib/crypto';
import { ROLES } from 'lib/constants';
import { getUser } from '../queries';
import { NextApiRequestCollect } from 'pages/api/send';