integrations: Replace use of 'subject' to 'topic'.

Fixes #25974
This commit is contained in:
abdullahm1
2023-07-12 16:37:08 +05:00
committed by Tim Abbott
parent 7036b0d466
commit a0fb4feebf
39 changed files with 167 additions and 169 deletions

View File

@@ -29,9 +29,9 @@ def api_ansibletower_webhook(
payload: WildValue = REQ(argument_type="body", converter=to_wild_value),
) -> HttpResponse:
body = get_body(payload)
subject = payload["name"].tame(check_string)
topic = payload["name"].tame(check_string)
check_send_webhook_message(request, user_profile, subject, body)
check_send_webhook_message(request, user_profile, topic, body)
return json_success(request)