mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-05-22 07:11:38 -05:00
@@ -314,9 +314,7 @@ __typename
|
||||
login
|
||||
}
|
||||
pullRequest {
|
||||
headRef {
|
||||
name
|
||||
}
|
||||
headRefName
|
||||
}
|
||||
}
|
||||
... on BaseRefForcePushedEvent {
|
||||
@@ -342,9 +340,7 @@ __typename
|
||||
login
|
||||
}
|
||||
pullRequest {
|
||||
headRef {
|
||||
name
|
||||
}
|
||||
headRefName
|
||||
}
|
||||
beforeCommit {
|
||||
oid
|
||||
|
||||
@@ -358,7 +358,7 @@ class TimelineItem extends StatelessWidget {
|
||||
textSpan: TextSpan(children: [
|
||||
TextSpan(text: ' restored the '),
|
||||
WidgetSpan(
|
||||
child: PrimerBranchName(p['pullRequest']['headRef']['name'])),
|
||||
child: PrimerBranchName(p['pullRequest']['headRefName'])),
|
||||
TextSpan(text: ' branch')
|
||||
]),
|
||||
);
|
||||
@@ -370,7 +370,7 @@ class TimelineItem extends StatelessWidget {
|
||||
children: [
|
||||
TextSpan(text: ' force-pushed the '),
|
||||
WidgetSpan(
|
||||
child: PrimerBranchName(p['pullRequest']['headRef']['name'])),
|
||||
child: PrimerBranchName(p['pullRequest']['headRefName'])),
|
||||
TextSpan(text: ' branch from '),
|
||||
TextSpan(
|
||||
text: (p['beforeCommit']['oid'] as String).substring(0, 7),
|
||||
|
||||
Reference in New Issue
Block a user