Skip to content

Commit

Permalink
chore(appmax-hash): get data by spread
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusgnreis authored Apr 1, 2024
1 parent 4e6375b commit 5cd1f75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions/assets/appmax-hash.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
}
}
})
.then(function (response) {
resolve(response.data.data.data.token)
.then(function ({ data }) {
resolve(data.data.token)
})
.catch(reject)
})
Expand Down

0 comments on commit 5cd1f75

Please sign in to comment.