diff --git a/lib/validate.js b/lib/validate.js index a6a48865..60c6dfb0 100644 --- a/lib/validate.js +++ b/lib/validate.js @@ -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({