mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 15:50:13 +00:00
Update passport-tests.ts
This commit is contained in:
committed by
GitHub
parent
18c0620984
commit
32ce522668
@@ -151,6 +151,9 @@ app.use((req: express.Request, res: express.Response, next: (err?: any) => void)
|
||||
if (req.user.username) {
|
||||
req.user.username = "hello user";
|
||||
}
|
||||
if (req.user.id) {
|
||||
req.user.id = "123";
|
||||
}
|
||||
}
|
||||
next();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user