Showing the changes to apps/server/src/sourceControl/BitbucketSourceControlProvider.ts (1 of 30 files). Show all
Unified · Split
| @@ -17,6 +17,7 @@ function toChangeRequest(summary: NormalizedBitbucketPullRequestRecord): ChangeR · 16 unmodified lines | ||
| 17 | 17 | baseRefName: summary.baseRefName, |
| 18 | 18 | headRefName: summary.headRefName, |
| 19 | 19 | state: summary.state, |
| 20 | + ...(summary.isDraft === true ? { isDraft: true } : {}), | |
| 20 | 21 | updatedAt: summary.updatedAt ?? Option.none(), |
| 21 | 22 | ...(summary.isCrossRepository !== undefined |
| 22 | 23 | ? { isCrossRepository: summary.isCrossRepository } |