Skip to content

Commit 8c1f81c

Browse files
KoblerSschiwekM
andauthored
Update lib/azure-blob-storage.js
Co-authored-by: Marten Schiwek <marten.schiwek@sap.com>
1 parent a4cd73f commit 8c1f81c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/azure-blob-storage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ module.exports = class AzureAttachmentsService extends require("./basic") {
189189
try {
190190
// Check separate object store instances
191191
if (separateObjectStore) {
192-
const tenantID = req?.tenant
192+
const tenantID = cds.context.tenant
193193
if (!tenantID) {
194194
logConfig.withSuggestion('error',
195195
'Tenant ID required for separate object store mode', null,

0 commit comments

Comments
 (0)