From 56525f800897b2ed4335571b1fc105761d1c4f15 Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Thu, 14 Sep 2023 18:11:02 -0700 Subject: [PATCH] refactor: callback payload for updateOS use md5 --- web/store/callbackActions.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/store/callbackActions.ts b/web/store/callbackActions.ts index 277d84d7c..e5be31ef4 100644 --- a/web/store/callbackActions.ts +++ b/web/store/callbackActions.ts @@ -60,8 +60,8 @@ export const useCallbackActionsStore = defineStore('callbackActions', () => { accountStore.setQueueConnectSignOut(true); } - if (action.type === 'updateOs' && action?.release) { - updateOsStore.confirmUpdateOs(action.release); + if (action.type === 'updateOs' && action?.releaseHash) { + updateOsStore.confirmUpdateOs(action.releaseHash); if (array.length === 1) { // only 1 action, skip refresh server state // removing query string relase is set so users can't refresh the page and go through the same actions window.history.replaceState(null, '', window.location.pathname);