chore: changed old values (#2194)

This commit is contained in:
Bavisetti Narayan 2023-09-15 14:18:30 +05:30 committed by GitHub
parent b274a21ca5
commit 9bfdcff44d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1102,8 +1102,8 @@ def delete_issue_relation_activity(
issue_id=current_instance.get("related_issue"), issue_id=current_instance.get("related_issue"),
actor=actor, actor=actor,
verb="deleted", verb="deleted",
old_value="", old_value=f"{project.identifier}-{issue.sequence_id}",
new_value=f"{project.identifier}-{issue.sequence_id}", new_value="",
field=relation_type, field=relation_type,
project=project, project=project,
workspace=project.workspace, workspace=project.workspace,
@ -1117,8 +1117,8 @@ def delete_issue_relation_activity(
issue_id=current_instance.get("issue"), issue_id=current_instance.get("issue"),
actor=actor, actor=actor,
verb="deleted", verb="deleted",
old_value="", old_value=f"{project.identifier}-{issue.sequence_id}",
new_value=f"{project.identifier}-{issue.sequence_id}", new_value="",
field=f'{current_instance.get("relation_type")}', field=f'{current_instance.get("relation_type")}',
project=project, project=project,
workspace=project.workspace, workspace=project.workspace,