Merge branch 'main' into auth
This commit is contained in:
@@ -7,6 +7,9 @@ import { activeGames } from "../db/models/game.model.js";
|
||||
import { io } from "../server.js";
|
||||
import * as UserModel from "../db/models/user.model.js";
|
||||
|
||||
import { activeGames } from "../db/models/game.model.js";
|
||||
import { io } from "../server.js";
|
||||
|
||||
export const getCurrentSession = async (req: Request, res: Response) => {
|
||||
try {
|
||||
if (req.session.user) {
|
||||
|
||||
Reference in New Issue
Block a user