From d1b78cc1e7f2b3b88939cfd3c1d4af29b8c3d866 Mon Sep 17 00:00:00 2001 From: arafato Date: Sat, 17 Feb 2018 22:09:15 +0100 Subject: [PATCH] implementation #156 --- lib/middleware/blob/cors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/middleware/blob/cors.js b/lib/middleware/blob/cors.js index c994f99..abb073e 100644 --- a/lib/middleware/blob/cors.js +++ b/lib/middleware/blob/cors.js @@ -11,7 +11,7 @@ const BbPromise = require('bluebird'), module.exports = (req, res, next) => { BbPromise.try(() => { const request = req.azuriteRequest; - sm.getBlobServiceProperties() + sm.getBlobServiceProperties(request) .then((response) => { if (response.payload.StorageServiceProperties && request.httpProps[N.ORIGIN]) { const allowedMethods = req.azuriteOperation === Operations.Account.PREFLIGHT_BLOB_REQUEST