You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewError(`${this.name}: Event Broker requires your app to be bound to an IAS instance.`)
164
160
@@ -335,19 +331,15 @@ class EventBroker extends cds.MessagingService {
335
331
Object.assign(msg.headers,headers)
336
332
if(this.isMultitenancy)msg.tenant=tenant
337
333
334
+
// for cds.context.http
338
335
msg._={}
339
336
msg._.req=req
340
337
msg._.res=res
341
338
342
339
constcontext={user: cds.User.privileged,_: msg._}
343
340
if(msg.tenant)context.tenant=msg.tenant
344
341
345
-
346
-
awaitthis.tx(context,tx=>{
347
-
if(cds.context.http?.req?.headers?.authorization)deletecds.context.http.req.headers.authorization// potential destination lookup fails if IAS token is used
0 commit comments