add prettier
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
import { RequestHandler } from "express";
|
||||
import { randomUUID } from "crypto";
|
||||
import { RequestHandler } from 'express';
|
||||
import { randomUUID } from 'crypto';
|
||||
|
||||
export function BeforeEach(): RequestHandler {
|
||||
return (req, res, next) => {
|
||||
req.headers["request-id"] = randomUUID();
|
||||
req.headers['request-id'] = randomUUID();
|
||||
next();
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user