Update pr_agent/git_providers/azuredevops_provider.py

applied suggestion.

Co-authored-by: qodo-merge-for-open-source[bot] <189517486+qodo-merge-for-open-source[bot]@users.noreply.github.com>
This commit is contained in:
Lawrence Mantin 2025-08-14 10:42:17 -05:00 committed by GitHub
parent 9c3972d619
commit 57ec112b4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -352,9 +352,7 @@ class AzureDevopsProvider(GitProvider):
return None
comment = Comment(content=pr_comment)
status = get_settings().azure_devops.default_comment_status
if status is None:
status = "closed"
status = get_settings().azure_devops.get("default_comment_status", "closed")
thread = CommentThread(comments=[comment], thread_context=thread_context, status=status)
thread_response = self.azure_devops_client.create_thread(
comment_thread=thread,