Cleanup of code
This commit is contained in:
@@ -16,9 +16,10 @@ export class ProductAPI extends SQLDataSource {
|
||||
super(config);
|
||||
}
|
||||
|
||||
async getMaterial(printId: number): Promise<any> {
|
||||
// SELECT materialid, material, (price / 100::float) as price FROM "product-materials"
|
||||
}
|
||||
// async getMaterial(printId: number): Promise<any> {
|
||||
// TODO: discuss if this is still needed. Anneli wants to remove the choice of standard, premium and self-adhesive
|
||||
// SELECT materialid, material, (price / 100::float) as price FROM "product-materials"
|
||||
// }
|
||||
|
||||
getBlacklisting(row: any): Array<ProductBlacklist> {
|
||||
if (!row.blacklisting) {
|
||||
|
||||
Reference in New Issue
Block a user