fix: project details table refresh

This commit is contained in:
Théo LAGACHE
2026-02-10 11:44:45 +01:00
parent a49b6d6573
commit 921a355ae0
48 changed files with 808 additions and 566 deletions
-1
View File
@@ -517,7 +517,6 @@ export const getActiveMember = async () => {
const member = await auth.api.getActiveMember({
headers: await headers(),
});
console.log(member);
return member as MemberWithUser;
} catch (e) {
-2
View File
@@ -5,7 +5,6 @@ import {enforceRetentionGFS} from "@/lib/tasks/database/retention-gsf";
import {retentionPolicy} from "@/db/schema/07_database";
import {isNull} from "drizzle-orm";
import * as drizzleDb from "@/db";
import {eventEmitter} from "../../../../app/api/events/route";
export const retentionCleanTask = async () => {
@@ -52,5 +51,4 @@ export async function enforceRetention(
});
break;
}
eventEmitter.emit('modification', {update: true});
}