Updated roles and permissions logic.

This commit is contained in:
Mike Cao committed 2022-12-06 18:36:41 -08:00
1 parent 4eb3140e43
commit b57ecf33e6
63 files changed
+432 -546

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
import { NextApiRequestQueryBody } from 'interface/api/nextApi';
import { NextApiRequestQueryBody } from 'lib/types';
import { secret } from 'lib/crypto';
import { NextApiResponse } from 'next';
import { createToken, methodNotAllowed, notFound, ok } from 'next-basics';