Add autowithdrawSchemaMembers
This commit is contained in:
parent
fea990390a
commit
d45cf99dd4
|
@ -772,7 +772,8 @@ export const blinkSchema = object().shape({
|
|||
.oneOf(['USD', 'BTC'], 'must be BTC or USD'),
|
||||
currencyRecv: string()
|
||||
.transform(value => value ? value.toUpperCase() : 'BTC')
|
||||
.oneOf(['BTC'], 'must be BTC')
|
||||
.oneOf(['BTC'], 'must be BTC'),
|
||||
...autowithdrawSchemaMembers
|
||||
}, ['apiKey', 'apiKeyRecv'])
|
||||
|
||||
export const lncSchema = object({
|
||||
|
|
Loading…
Reference in New Issue