Commit 09ada79d authored by Rajesh Kumaravel's avatar Rajesh Kumaravel
Browse files

Issue #ED-393 feat: Externalie CSP package implemented in portal backend

No related merge requests found
Showing with 2 additions and 1 deletion
+2 -1
......@@ -17,7 +17,7 @@ const cloudProvider = envHelper.sunbird_cloud_storage_provider;
* Based on Environment Cloud Provider value
* Export respective Storage Service
*/
if (!cloudProvider) throw new Error("Cloud Storage Service - Provider is not initialized");
switch (cloudProvider) {
case 'azure':
let azureConfig = {
......@@ -57,5 +57,6 @@ switch (cloudProvider) {
exports.CLOUD_CLIENT = gcpStorage;
break;
default:
throw new Error("Cloud Storage Service - Provider is not initialized or supported");
break;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment