Skip to content

Commit 1659d07

Browse files
committed
Bug Fix
1 parent be16b4d commit 1659d07

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/src/common/model/pulls.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ class PullRequest extends PullRequestInformation {
8484
@ApiName("merge_commit_sha")
8585
String mergeCommitSha;
8686

87+
Repository repository;
88+
8789
/// If the pull request was merged
8890
bool merged;
8991

@@ -117,6 +119,7 @@ class PullRequest extends PullRequestInformation {
117119
PullRequest pr = PullRequestInformation.fromJSON(input, new PullRequest());
118120
pr.mergeable = input['mergeable'];
119121
pr.merged = input['merged'];
122+
pr.repository = Repository.fromJSON(input['repository']);
120123
pr.mergedBy = User.fromJSON(input['merged_by']);
121124
pr.mergeCommitSha = input['merge_commit_sha'];
122125
pr.commentsCount = input['comments'];

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy