From 8596b466145271108b6f525ec16cc74ef45cf7a2 Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Tue, 3 Sep 2024 16:05:04 +0200 Subject: [PATCH] ui change enum for spot? --- frontend/app/duck/user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/app/duck/user.js b/frontend/app/duck/user.js index cc65352fb..44aff9d1c 100644 --- a/frontend/app/duck/user.js +++ b/frontend/app/duck/user.js @@ -159,12 +159,12 @@ export default withRequestState( export const upgradeScope = () => ({ types: UPGRADE_ACCOUNT_SCOPE.toArray(), - call: (client) => client.post('/account/scope', { scope: 'full' }), + call: (client) => client.post('/account/scope', { scope: 2 }), }) export const downgradeScope = () => ({ types: DOWNGRADE_ACCOUNT_SCOPE.toArray(), - call: (client) => client.post('/account/scope', { scope: 'spot' }), + call: (client) => client.post('/account/scope', { scope: 1 }), }) export const login = (params) => ({