update issue ref_field to real name 'ref'

This commit is contained in:
Paul Campbell 2023-12-16 16:45:09 +00:00
parent 0662c07417
commit c4228f01c8
2 changed files with 2 additions and 1 deletions

View file

@ -87,6 +87,7 @@ pub struct Issue {
/// Pull request information for the issue.
pub pull_request: Option<PullRequestMeta>,
/// The reference for the issue.
#[serde(rename = "ref")]
pub ref_field: String,
/// Metadata for the repository.
pub repository: RepositoryMeta,

View file

@ -68,7 +68,7 @@
"original_author": "original_author",
"original_author_id": 123,
"pull_request": null,
"ref_field": "refs/1",
"ref": "refs/1",
"repository": {
"full_name": "exampleuser/example-repo",
"id": 123,