Skip to content

Commit

Permalink
Update account token (Memmy-App#580)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktgd committed Jul 11, 2023
1 parent 15af3e4 commit 7eb276b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/slices/accounts/accountsActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export const editAccount = createAsyncThunk(
);

accounts[index].password = account.password;
accounts[index].token = account.token;

await AsyncStorage.setItem("@accounts", JSON.stringify(accounts));
return accounts;
Expand Down

0 comments on commit 7eb276b

Please sign in to comment.