Skip to content

Commit d40bc5d

Browse files
author
Laurent Guitton
committed
fix(desktop): align Bitbucket CI check fields with CICheck struct
Rename `status`/`url` to `state`/`details_url` so the Bitbucket PR CI checks payload matches the shared CICheck shape used by the frontend. 🪄 Commit via GitWand
1 parent 9c15726 commit d40bc5d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/desktop/src-tauri/src/commands/bitbucket.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -894,9 +894,9 @@ pub(crate) fn bb_pr_ci_checks(cwd: String, pr_id: i64) -> Result<Vec<CICheck>, S
894894
};
895895
CICheck {
896896
name: js(s, "name"),
897-
status,
897+
state: status,
898898
conclusion,
899-
url: {
899+
details_url: {
900900
let u = jnested(s, "url", "href");
901901
if u.is_empty() { js(s, "url") } else { u }
902902
},

0 commit comments

Comments
 (0)