Skip to content

Commit 3f7e5a5

Browse files
committed
Fix GithubCopilotTask field name to match API response
Rename to to match the real GitHub Copilot API response. The test mock was already updated to use , but the model field name wasn't changed, causing Pydantic to silently drop the API value and leave the field as None.
1 parent 6c83f74 commit 3f7e5a5

File tree

1 file changed

+1
-1
lines changed
  • src/sentry/integrations/github_copilot

1 file changed

+1
-1
lines changed

src/sentry/integrations/github_copilot/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class GithubCopilotTask(BaseModel):
7777
session_count: int | None = None
7878
artifacts: list[GithubCopilotArtifact] | None = None
7979
archived_at: str | None = None
80-
last_updated_at: str | None = None
80+
updated_at: str | None = None
8181
created_at: str | None = None
8282
sessions: list[GithubCopilotSession] | None = None
8383

0 commit comments

Comments
 (0)