diff --git a/apps/backend/src/modules/activity-logs/activity-log.repository.ts b/apps/backend/src/modules/activity-logs/activity-log.repository.ts index a10425f3..30743994 100644 --- a/apps/backend/src/modules/activity-logs/activity-log.repository.ts +++ b/apps/backend/src/modules/activity-logs/activity-log.repository.ts @@ -40,9 +40,10 @@ class ActivityLogRepository implements Repository { public async deleteForDate(projectId: number, date: string): Promise { await this.activityLogModel .query() + .delete() .where("projectId", projectId) .andWhere("date", date) - .delete(); + .execute(); } public find(): ReturnType {