diff --git a/src/datasources/product-api.ts b/src/datasources/product-api.ts index 0fa57fc..7e780a1 100644 --- a/src/datasources/product-api.ts +++ b/src/datasources/product-api.ts @@ -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( diff --git a/src/types/product-types.ts b/src/types/product-types.ts index 82d96e4..2b387a3 100644 --- a/src/types/product-types.ts +++ b/src/types/product-types.ts @@ -84,6 +84,7 @@ export enum ProductMaterials { PREMIUM_WALLPAPER = 4, PREMIUM_POSTER = 5, PREMIUM_FRAMED_PRINT = 6, + MATTE_WALLPAPER = 7, } export enum ProductType {