Skip to content

Commit

Permalink
Code example fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rebloor committed Oct 25, 2023
1 parent b93bde1 commit cac4915
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ Request an update and log the new version if one is available:

```js
function onRequested(result) {
console.log(status);
if (status === "update_available") {
console.log(details.version);
console.log(result.status);
if (result.status === "update_available") {
console.log(result.version);
}
}

Expand Down

0 comments on commit cac4915

Please sign in to comment.