Make designer optional in mutation (#30)

This commit is contained in:
Niklas Fondberg
2021-09-07 12:17:43 +02:00
committed by GitHub
parent 5986dd0a52
commit 4fee798bae
3 changed files with 4 additions and 5 deletions
+1 -2
View File
@@ -12,7 +12,6 @@ import {
Orientation,
ProductsFilterInput,
ProductInfoInput,
ProductBlacklistInput,
ProductBlacklistMarketInput,
ProductMaterials,
ProductSizeTypes,
@@ -191,7 +190,7 @@ export class ProductAPI extends BaseSQLDataSource {
path: info.path,
browsable: info.browsable ? 1 : 0,
visible: info.visible ? 1 : 0,
designerid: info.designerId,
designerid: info.designerId ?? null,
ref1: info.ref1,
ref2: info.ref2,
ref3: info.ref3,