mirror of
https://gitlab.com/foxixus/neomovies-api.git
synced 2025-10-30 02:48:50 +05:00
fix routes issue
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
const { Router } = require('express');
|
||||
const { getDb } = require('../db');
|
||||
const authRequired = require('../middleware/auth');
|
||||
const fetch = require('node-fetch');
|
||||
console.log('typeof authRequired:', typeof authRequired, authRequired);
|
||||
const fetch = global.fetch || require('node-fetch');
|
||||
|
||||
const router = Router();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user