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

+2 -2
View File
@@ -1,6 +1,6 @@
import { subMinutes } from 'date-fns';
import { RealtimeInit } from 'interface/api/models';
import { NextApiRequestAuth } from 'interface/api/nextApi';
import { RealtimeInit } from 'lib/types';
import { NextApiRequestAuth } from 'lib/types';
import { secret } from 'lib/crypto';
import { useAuth } from 'lib/middleware';
import { NextApiResponse } from 'next';