user create wip

This commit is contained in:
2022-10-10 12:11:11 +02:00
parent da02f87e97
commit f19e24533e
16 changed files with 576 additions and 23 deletions

View File

@ -0,0 +1,9 @@
import { RequestHandler } from "express";
import { randomUUID } from "crypto";
export function BeforeEach(): RequestHandler {
return (req, res, next) => {
req.headers["request-id"] = randomUUID();
next();
}
}