diff --git a/loopback/server/datasources.json b/loopback/server/datasources.json index a8fc13152..608479b4b 100644 --- a/loopback/server/datasources.json +++ b/loopback/server/datasources.json @@ -126,20 +126,5 @@ "allowedContentTypes": [ "application/x-7z-compressed" ] - }, - "supplierStorage": { - "name": "supplierStorage", - "connector": "loopback-component-storage", - "provider": "filesystem", - "root": "./storage/dms", - "maxFileSize": "31457280", - "allowedContentTypes": [ - "image/png", - "image/jpeg", - "image/jpg", - "image/webp", - "video/mp4", - "application/pdf" - ] } } diff --git a/modules/supplier/back/model-config.json b/modules/supplier/back/model-config.json index efbb4ceed..5a0c6b43a 100644 --- a/modules/supplier/back/model-config.json +++ b/modules/supplier/back/model-config.json @@ -8,9 +8,6 @@ "SupplierDms": { "dataSource": "vn" }, - "SupplierContainer": { - "dataSource": "supplierStorage" - }, "SupplierAddress": { "dataSource": "vn" },