Cleanup of code

This commit is contained in:
Niklas Fondberg
2021-07-07 17:11:37 +02:00
parent 267bc4f1c9
commit 32adee1bf4
5 changed files with 54 additions and 39 deletions
+4 -3
View File
@@ -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) {