Skip to content

Commit 7b86dea

Browse files
author
extreme4all
committed
bug fix
1 parent dfdc710 commit 7b86dea

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/api/legacy/legacy.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,7 @@ async def sql_get_report_data_heatmap(region_id: int):
364364
join report_location rl on rp.report_location_id = rl.report_location_id
365365
join report_sighting rs on rp.report_sighting_id = rs.report_sighting_id
366366
join Players pl on rs.reported_id = pl.id
367-
where rl.region_id = :region_id and pl.label_jagex = 2 and rp.created_at > curdate() - interval 30 DAY
368-
;
367+
where rl.region_id = :region_id and pl.label_jagex = 2 and rp.created_at > curdate() - interval 30 DAY
369368
"""
370369

371370
param = {"region_id": region_id}

0 commit comments

Comments
 (0)