add withMiddleware for all api routes. Now it do nothing

This commit is contained in:
tmshv committed 2019-10-12 04:58:56 +03:00
1 parent cd7536f74f
commit 95c8369df2
16 files changed
+48 -30

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
export const withMiddleware = handler => async (req, res) => {
return handler(req, res);
};