mirror of
https://github.com/GithubOrgProjectPiza/server.git
synced 2026-09-04 23:33:59 +02:00
Add Auth middleware;
This commit is contained in:
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
import { authJwt } from "./controller/auth.controller";
|
||||
|
||||
declare module "express-serve-static-core" {
|
||||
interface Request {
|
||||
auth?: authJwt & { isAuthenthicated: boolean };
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user