fix: rejection_record

pull/26/head
db0 2023-09-17 23:47:16 +02:00
parent fbbda7a17c
commit 15b1ec5236
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
# Changelog
# 0.15.1
* Added some rate limits. Currently each instance is limited to 20 actions per minute
# 0.15.0
* Added solicitation. Now you can see which instances are requesting guarantees

View File

@ -190,7 +190,7 @@ class Guarantees(Resource):
db.session.add(solicitation_report)
db.session.delete(guarantee)
rejection_recorinstanced = database.get_rejection_record(instance.id,target_instance.id)
rejection_record = database.get_rejection_record(instance.id,target_instance.id)
if rejection_record:
rejection_record.refresh()
else: