From 6af4b069f02e678ddef42a6d9b0f7d4d07e2cce4 Mon Sep 17 00:00:00 2001 From: db0 Date: Tue, 26 Sep 2023 19:31:52 +0200 Subject: [PATCH] fix: muted_flag --- fediseer/apis/v1/guarantees.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fediseer/apis/v1/guarantees.py b/fediseer/apis/v1/guarantees.py index a615d97..64b3197 100644 --- a/fediseer/apis/v1/guarantees.py +++ b/fediseer/apis/v1/guarantees.py @@ -113,7 +113,7 @@ class Guarantees(Resource): flag=enums.InstanceFlags.MUTED, comment=f"Inherited from guarantor {target_instance.domain}", ) - db.session.add(muted_flag) + db.session.add(muted_flag) database.delete_all_solicitation_by_source(target_instance.id) new_report = Report( source_domain=instance.domain,