Patches and cleanup

This commit is contained in:
oitsjustjose 2022-04-15 08:29:14 -05:00
commit c4b7d6d5ca
2 changed files with 9 additions and 1 deletions

View file

@ -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;