Skip to content

Commit

Permalink
fix: bad exc access
Browse files Browse the repository at this point in the history
  • Loading branch information
YoanRos committed Aug 2, 2024
1 parent a8db0d7 commit 251b056
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions expo/src/scenes/Infos/Transfer.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ const Transfer = ({ navigation }) => {
storage.set(key, value);
}
});
const matomoId = storage.getString("@UserIdv2");
await API.put({ path: `/user`, body: { matomoId, pushNotifToken } }).then((res) => {

await API.put({ path: `/user`, body: { matomoId: dataImported["@UserIdv2"], pushNotifToken } }).then((res) => {
if (res.ok) {
logEvent({ category: "TRANSFER", action: "IMPORT_DATA_SUCCESS" });
} else {
Expand Down

0 comments on commit 251b056

Please sign in to comment.