Skip to content

Commit

Permalink
fix: analytics deletion is buggy gf-615 (#616)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
ArtemZag and github-actions[bot] authored Oct 21, 2024
1 parent 47007f8 commit 3a98d75
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ class ActivityLogRepository implements Repository {
public async deleteForDate(projectId: number, date: string): Promise<void> {
await this.activityLogModel
.query()
.delete()
.where("projectId", projectId)
.andWhere("date", date)
.delete();
.execute();
}

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

0 comments on commit 3a98d75

Please sign in to comment.