Return empty strings for batch and copyright (#31)
This commit is contained in:
@@ -104,6 +104,8 @@ export class ProductAPI extends BaseSQLDataSource {
|
|||||||
row.fields = this.getProductFields(row);
|
row.fields = this.getProductFields(row);
|
||||||
row.designerId = row.designerid;
|
row.designerId = row.designerid;
|
||||||
row.orientation = this.getOrientation(row.fields);
|
row.orientation = this.getOrientation(row.fields);
|
||||||
|
row.copyright = row.copyright ?? '';
|
||||||
|
row.batch = row.batch ?? '';
|
||||||
return row;
|
return row;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -262,7 +262,7 @@ type ProductFields {
|
|||||||
photowallResolution: Int
|
photowallResolution: Int
|
||||||
canvasResolution: Int
|
canvasResolution: Int
|
||||||
wallpaperResolution: Int
|
wallpaperResolution: Int
|
||||||
copyright: String
|
copyright: String!
|
||||||
proportionsWarning: String
|
proportionsWarning: String
|
||||||
marginWidthMax: Int
|
marginWidthMax: Int
|
||||||
marginWidthMin: Int
|
marginWidthMin: Int
|
||||||
@@ -272,7 +272,7 @@ type ProductFields {
|
|||||||
focusYpoint: Float
|
focusYpoint: Float
|
||||||
focusXpoint2: Float
|
focusXpoint2: Float
|
||||||
focusYpoint2: Float
|
focusYpoint2: Float
|
||||||
batch: String
|
batch: String!
|
||||||
imageResolution: Int
|
imageResolution: Int
|
||||||
printFileWidth: Int
|
printFileWidth: Int
|
||||||
printFileHeight: Int
|
printFileHeight: Int
|
||||||
|
|||||||
Reference in New Issue
Block a user