Patches and cleanup
This commit is contained in:
parent
622c274deb
commit
c4b7d6d5ca
2 changed files with 9 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ import UserInjection from "./app/middleware/UserInjection";
|
|||
import { UserModel } from "./app/models/User";
|
||||
|
||||
interface AuthenticatableRequest {
|
||||
user: UserModel | null;
|
||||
user?: UserModel;
|
||||
}
|
||||
|
||||
declare global {
|
||||
|
|
@ -42,7 +42,9 @@ Routes.forEach(({ path, httpMethod, handler }) => {
|
|||
app.patch(path, handler);
|
||||
break;
|
||||
}
|
||||
console.log("-------------------------------------------------");
|
||||
console.log(`${httpMethod}: ${path}`);
|
||||
});
|
||||
console.log("-------------------------------------------------");
|
||||
|
||||
export default app;
|
||||
|
|
|
|||
Loading…
Reference in a new issue