From 83bd868569b5de2501aa8313e727233f321b769a Mon Sep 17 00:00:00 2001 From: ue Date: Mon, 11 Nov 2019 23:30:41 +0300 Subject: [PATCH] fixed pincod to pincode --- src/providers/steem/auth.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/providers/steem/auth.js b/src/providers/steem/auth.js index a815d88b2..d586648f2 100644 --- a/src/providers/steem/auth.js +++ b/src/providers/steem/auth.js @@ -331,26 +331,26 @@ export const getUpdatedUserData = (userData, data) => { authType: get(userData, 'authType', ''), accessToken: get(userData, 'authType', '') === AUTH_TYPE.STEEM_CONNECT - ? encryptKey(data.accessToken, get(data, 'pinCod')) + ? encryptKey(data.accessToken, get(data, 'pinCode')) : '', masterKey: get(userData, 'authType', '') === AUTH_TYPE.MASTER_KEY - ? encryptKey(data.password, get(data, 'pinCod')) + ? encryptKey(data.password, get(data, 'pinCode')) : '', postingKey: get(userData, 'authType', '') === AUTH_TYPE.MASTER_KEY || get(userData, 'authType', '') === AUTH_TYPE.POSTING_KEY - ? encryptKey(get(privateKeys, 'postingKey', '').toString(), get(data, 'pinCod')) + ? encryptKey(get(privateKeys, 'postingKey', '').toString(), get(data, 'pinCode')) : '', activeKey: get(userData, 'authType', '') === AUTH_TYPE.MASTER_KEY || get(userData, 'authType', '') === AUTH_TYPE.ACTIVE_KEY - ? encryptKey(get(privateKeys, 'activeKey', '').toString(), get(data, 'pinCod')) + ? encryptKey(get(privateKeys, 'activeKey', '').toString(), get(data, 'pinCode')) : '', memoKey: get(userData, 'authType', '') === AUTH_TYPE.MASTER_KEY || get(userData, 'authType', '') === AUTH_TYPE.MEMO_KEY - ? encryptKey(get(privateKeys, 'memoKey', '').toString(), get(data, 'pinCod')) + ? encryptKey(get(privateKeys, 'memoKey', '').toString(), get(data, 'pinCode')) : '', }; };