set ORIGINAL_KEY_ATTRIBUTES from verify response

This commit is contained in:
Abhinav-grd 2021-08-30 17:56:20 +05:30
parent 01e9a2ca96
commit 10e86a7bd5

View file

@ -90,6 +90,7 @@ export default function Verify() {
}); });
if (keyAttributes) { if (keyAttributes) {
setData(LS_KEYS.KEY_ATTRIBUTES, keyAttributes); setData(LS_KEYS.KEY_ATTRIBUTES, keyAttributes);
setData(LS_KEYS.ORIGINAL_KEY_ATTRIBUTES, keyAttributes);
} else if (getData(LS_KEYS.ORIGINAL_KEY_ATTRIBUTES)) { } else if (getData(LS_KEYS.ORIGINAL_KEY_ATTRIBUTES)) {
await putAttributes( await putAttributes(
token, token,