hotfix(medusa): Allow SKU and EAN on create variant (#141)
This commit is contained in:
committed by
GitHub
parent
cc7159a59f
commit
de7c98c9a6
@@ -4,6 +4,8 @@ export default async (req, res) => {
|
||||
const { id } = req.params
|
||||
const schema = Validator.object().keys({
|
||||
title: Validator.string().required(),
|
||||
sku: Validator.string().optional(),
|
||||
ean: Validator.string().optional(),
|
||||
prices: Validator.array()
|
||||
.items({
|
||||
currency_code: Validator.string().required(),
|
||||
|
||||
Reference in New Issue
Block a user