fix: update-product

This commit is contained in:
Sebastian Rindom
2021-02-25 08:41:55 +01:00
parent e016183974
commit 0320788aac

View File

@@ -6,6 +6,9 @@ export default async (req, res) => {
const schema = Validator.object().keys({
title: Validator.string().optional(),
subtitle: Validator.string()
.optional()
.allow(null, ""),
description: Validator.string().optional(),
type: Validator.object()
.keys({