randydev commited on
Commit
2044acb
·
verified ·
1 Parent(s): a5f7d1a

Update middleware/midware.js

Browse files
Files changed (1) hide show
  1. middleware/midware.js +1 -1
middleware/midware.js CHANGED
@@ -1,6 +1,6 @@
1
  import { Database } from '../database/database.js';
2
  import { rateLimit } from 'express-rate-limit';
3
- import { v4: uuidv4 } from 'uuid';
4
 
5
  const authenticateApiKey = async (req, res, next) => {
6
  const apiKey = req.headers['x-api-key'];
 
1
  import { Database } from '../database/database.js';
2
  import { rateLimit } from 'express-rate-limit';
3
+ import { uuidv4 } from 'uuid';
4
 
5
  const authenticateApiKey = async (req, res, next) => {
6
  const apiKey = req.headers['x-api-key'];