fix: report correct guarantee

pull/26/head
db0 2023-09-17 23:52:43 +02:00
parent 15b1ec5236
commit bcac7b29c8
1 changed files with 2 additions and 2 deletions

View File

@ -182,8 +182,8 @@ class Guarantees(Resource):
)
db.session.add(new_solicitation)
solicitation_report = Report(
source_domain=instance.domain,
target_domain=instance.domain,
source_domain=target_instance.domain,
target_domain=target_instance.domain,
report_type=enums.ReportType.SOLICITATION,
report_activity=enums.ReportActivity.ADDED,
)