From 829ca9df237e7db8fae9d9cfa735f98976e560cf Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Wed, 27 Mar 2024 10:42:36 +1300 Subject: [PATCH] typo! --- app/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models.py b/app/models.py index 3ccb3022..d3b44a99 100644 --- a/app/models.py +++ b/app/models.py @@ -1215,7 +1215,7 @@ class Report(db.Model): return types[self.type] def is_local(self): - return self.source_instance == 1 + return self.source_instance_id == 1 class IpBan(db.Model):