Merge pull request #2417 from bluewave-labs/fix/account-delete

fix: add empty query object to fix default destructuring, resolves #2386
This commit is contained in:
Alexander Holliday
2025-06-10 09:17:50 +08:00
committed by GitHub
+2 -1
View File
@@ -404,7 +404,8 @@ class AuthController {
// 1. Find all the monitors associated with the team ID if superadmin
const result = await this.db.getMonitorsByTeamId({
params: { teamId: user.teamId },
query: {},
params: { teamId: user.teamId.toString() },
});
if (user.role.includes("superadmin")) {