Add autowithdrawSchemaMembers

This commit is contained in:
Riccardo Balbo 2024-10-18 19:17:22 +02:00
parent fea990390a
commit d45cf99dd4

View File

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