From 0a6321deb08ee8244fde93fb584a4a90a07c1aea Mon Sep 17 00:00:00 2001 From: Mathis Date: Fri, 26 Apr 2024 10:00:55 +0200 Subject: [PATCH] feat(services): mark blob validation as TODO in brand service A TODO comment has been added to the `brand.service.ts` file indicating that blob validation needs to be implemented in the future, for both the 'create' and 'update' functions in the brand service. Issue: #13 Signed-off-by: Mathis --- src/services/brand.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/brand.service.ts b/src/services/brand.service.ts index 279e82f..95f6802 100644 --- a/src/services/brand.service.ts +++ b/src/services/brand.service.ts @@ -6,7 +6,7 @@ import { v4 as uuidv4 } from 'uuid'; const DbHandler = new MysqlService.Handler('BrandService') const logger = new Logger({name: 'BrandService'}) -//SEC Blob validation +//SEC todo Blob validation /** * Creates a brand in the database with the given data. * @@ -34,6 +34,7 @@ async function createBrand(data: IDbBrand): Promise { return { error: 'failed' }; } +//SEC todo Blob validation /** * Updates a brand in the database. * @@ -98,7 +99,6 @@ async function getBySlugBrand(brandSlug: string): Promise { return brand; } - /** * Retrieves a brand from the database based on the provided brand ID. *