Skip to content

Commit

Permalink
Fix SIM212
Browse files Browse the repository at this point in the history
  • Loading branch information
Smartappli authored Jun 29, 2024
1 parent 9d780eb commit cd7db19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/syft/src/syft/service/request/request_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def submit(
subject_msg = f"Result to request {str(request.id)[:4]}...{str(request.id)[-3:]}\
has been successfully deposited."
message = CreateNotification(
subject=subject_msg if not reason else reason,
subject=reason if reason else subject_msg,
from_user_verify_key=context.credentials,
to_user_verify_key=root_verify_key,
linked_obj=link,
Expand Down

0 comments on commit cd7db19

Please sign in to comment.