Use next-basics package.
This commit is contained in:
1 parent
1a6af8fc41
commit
f4e0da481e
62 files changed
+255
-373
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import { resetWebsite } from 'queries';
|
||||
import { methodNotAllowed, ok, unauthorized } from 'lib/response';
|
||||
import { methodNotAllowed, ok, unauthorized } from 'next-basics';
|
||||
import { allowQuery } from 'lib/auth';
|
||||
|
||||
export default async (req, res) => {
|
||||
|
||||
Reference in new issue
Block a user