Skip to content

Commit 3a98d75

Browse files
fix: analytics deletion is buggy gf-615 (#616)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 47007f8 commit 3a98d75

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/backend/src/modules/activity-logs/activity-log.repository.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ class ActivityLogRepository implements Repository {
4040
public async deleteForDate(projectId: number, date: string): Promise<void> {
4141
await this.activityLogModel
4242
.query()
43+
.delete()
4344
.where("projectId", projectId)
4445
.andWhere("date", date)
45-
.delete();
46+
.execute();
4647
}
4748

4849
public find(): ReturnType<Repository["find"]> {

0 commit comments

Comments
 (0)