Skip to content

Commit

Permalink
fix: fix prList base and head parma
Browse files Browse the repository at this point in the history
  • Loading branch information
baiwusanyu-c committed Apr 17, 2023
1 parent dd99fd8 commit 8c7f4f0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ export const PrList = (props: PrListProps) => {
html_url: prl[i].html_url,
opFlag: 0,
id: prl[i].id,
base: prl[i].base.ref,
head: prl[i].head.ref,
base: prl[i].base ? prl[i].base.ref : '',
head: prl[i].base ? prl[i].head.ref : '',
}
// get pr detail data
try {
Expand Down

0 comments on commit 8c7f4f0

Please sign in to comment.