Skip to content

Commit fffae2f

Browse files
committed
Upstream integration: Update the types
Update the types of the resolution, in order to match what’s expected from the backend
1 parent e7f28cb commit fffae2f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/desktop/src/components/IntegrateUpstreamModal.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
const dontDelete = someBranchesShouldNotBeDeleted(status.stack.heads.map((b) => b.name));
108108
109109
results.set(status.stack.id, {
110-
branchId: status.stack.id,
110+
stackId: status.stack.id,
111111
approach: getResolutionApproachV3(status),
112112
deleteIntegratedBranches: !dontDelete,
113113
forceIntegratedBranches

apps/desktop/src/lib/upstream/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export type ResolutionApproach = {
4949
};
5050

5151
export type Resolution = {
52-
branchId: string;
52+
stackId: string;
5353
approach: ResolutionApproach;
5454
deleteIntegratedBranches: boolean;
5555
forceIntegratedBranches: string[];

0 commit comments

Comments
 (0)