Updated prisma and redis clients.

This commit is contained in:
Mike Cao 2022-12-26 21:51:16 -08:00
parent c05d116875
commit dff105c747
9 changed files with 40 additions and 125 deletions

View file

@ -7,9 +7,9 @@ import {
methodNotAllowed,
getRandomChars,
} from 'next-basics';
import redis from '@umami/redis-client';
import { getUser, User } from 'queries';
import { secret } from 'lib/crypto';
import redis from 'lib/redis';
import { NextApiRequestQueryBody } from 'lib/types';
import { NextApiResponse } from 'next';

View file

@ -1,6 +1,6 @@
import { methodNotAllowed, ok } from 'next-basics';
import redis from '@umami/redis-client';
import { useAuth } from 'lib/middleware';
import redis from 'lib/redis';
import { getAuthToken } from 'lib/auth';
import { NextApiRequest, NextApiResponse } from 'next';