ui change enum for spot?

This commit is contained in:
nick-delirium 2024-09-03 16:05:04 +02:00
parent bb08e4fa84
commit 8596b46614
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0

View file

@ -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) => ({