feat(dm): migrated all the dm topics
All checks were successful
Build and Push LST Docker Image / docker (push) Successful in 4m26s

This commit is contained in:
2026-06-26 11:05:17 -05:00
parent 012a7e83b2
commit 47b149d1ea
48 changed files with 14156 additions and 44 deletions

View File

@@ -3,6 +3,7 @@ import { Router } from "express";
import { db } from "../db/db.controller.js";
import { scanLog } from "../db/schema/scanlog.schema.js";
import { scanUser } from "../db/schema/scanUsers.js";
import { emitToRoom } from "../socket.io/roomEmitter.socket.js";
import { apiReturn } from "../utils/returnHelper.utils.js";
const router = Router();
@@ -32,6 +33,8 @@ router.post("/", async (req, res) => {
})
.returning();
emitToRoom(`scanLog`, newLog[0]);
return apiReturn(res, {
success: true,
level: "info",