ui change enum for spot?
This commit is contained in:
parent
bb08e4fa84
commit
8596b46614
1 changed files with 2 additions and 2 deletions
|
|
@ -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) => ({
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue