9675 - Fix material insert for new material (#195)
This commit is contained in:
@@ -851,6 +851,12 @@ export class ProductAPI extends BaseSQLDataSource {
|
||||
ProductMaterials.PREMIUM_WALLPAPER,
|
||||
]),
|
||||
);
|
||||
insertMaterials.push(
|
||||
this.knex.raw(insertMaterialQuery, [
|
||||
printid,
|
||||
ProductMaterials.MATTE_WALLPAPER,
|
||||
]),
|
||||
);
|
||||
break;
|
||||
case ProductGroup.CANVAS:
|
||||
insertMaterials.push(
|
||||
|
||||
@@ -84,6 +84,7 @@ export enum ProductMaterials {
|
||||
PREMIUM_WALLPAPER = 4,
|
||||
PREMIUM_POSTER = 5,
|
||||
PREMIUM_FRAMED_PRINT = 6,
|
||||
MATTE_WALLPAPER = 7,
|
||||
}
|
||||
|
||||
export enum ProductType {
|
||||
|
||||
Reference in New Issue
Block a user