Skip to content

Commit

Permalink
fix(android): use correct bundle property for commit/rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
lincolnthree committed Jun 29, 2022
1 parent b8b9bb6 commit 0839230
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ public Boolean set(final String id) {
}

public void commit(final BundleInfo bundle) {
this.setBundleStatus(bundle.getVersionName(), BundleStatus.SUCCESS);
this.setBundleStatus(bundle.getId(), BundleStatus.SUCCESS);
this.setFallbackVersion(bundle);
}

Expand All @@ -309,7 +309,7 @@ public void reset() {
}

public void rollback(final BundleInfo bundle) {
this.setBundleStatus(bundle.getVersionName(), BundleStatus.ERROR);
this.setBundleStatus(bundle.getId(), BundleStatus.ERROR);
}

public void reset(final boolean internal) {
Expand Down

0 comments on commit 0839230

Please sign in to comment.