update issue ref_field to real name 'ref'
This commit is contained in:
parent
0662c07417
commit
c4228f01c8
2 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue