hotfix: Allow sale_amount product updates (#346)

This commit is contained in:
Oliver Windall Juhl
2021-08-20 17:14:19 +02:00
committed by GitHub
parent fd14e243da
commit 5d63b0c8d2
2 changed files with 18 additions and 1 deletions
@@ -246,6 +246,7 @@ export default async (req, res) => {
amount: Validator.number()
.integer()
.required(),
sale_amount: Validator.number().optional(),
})
.xor("region_id", "currency_code")
),