Skip to content

Commit

Permalink
Fix lint issue
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Mezach <[email protected]>
  • Loading branch information
jmezach committed Jan 6, 2025
1 parent b24d460 commit df6f5e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/qeta-backend/src/service/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ export const getAzureBlobServiceClient = (config: Config) => {
return BlobServiceClient.fromConnectionString(connectionString);
} else if (accountName) {
return new BlobServiceClient(`https://${accountName}.blob.core.windows.net`, new DefaultAzureCredential());
} else {
throw new Error('Either account name or connection string must be provided for Azure Blob Storage');
}

throw new Error('Either account name or connection string must be provided for Azure Blob Storage');
}

0 comments on commit df6f5e5

Please sign in to comment.