add withMiddleware for all api routes. Now it do nothing
This commit is contained in:
1 parent
cd7536f74f
commit
95c8369df2
16 files changed
+48
-30
No files matched your search
@@ -0,0 +1,3 @@
|
||||
export const withMiddleware = handler => async (req, res) => {
|
||||
return handler(req, res);
|
||||
};
|
||||
Reference in new issue
Block a user