hotfix: Allow sale_amount product updates (#346)

This commit is contained in:
Oliver Windall Juhl authored and GitHub committed 2021-08-20 17:14:19 +02:00
1 parent fd14e243da
commit 5d63b0c8d2
2 files changed
+18 -1

No files matched your search

@@ -246,6 +246,7 @@ export default async (req, res) => {
amount: Validator.number()
.integer()
.required(),
sale_amount: Validator.number().optional(),
})
.xor("region_id", "currency_code")
),