Refactor upload-image to image-upload component

This commit is contained in:
Barry Low committed 2018-09-28 17:31:19 -07:00
1 parent 2e21c13415
commit 5596f54864
4 files changed
+306 -22

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ const Azure = require('@azure/storage-blob')
* @accountName: Azure Blob Storage account name (required) - Environment variable
* @accountKey: Azure Blob Storage storage key (required) - Environment variable
*/
const createStoragePipline = async (accountNAme, accountKey) => {
const createStoragePipline = async (accountName, accountKey) => {
return Azure.StorageURL.newPipeline(
new Azure.SharedKeyCredential(accountName, accountKey)
)