Skip to content

Commit

Permalink
fix: inject headers from adonis object
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainLanz committed Sep 21, 2024
1 parent d111cea commit 75a6985
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/controllers/event_stream_controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export default class EventStreamController {
context: ctx,
request: ctx.request.request,
response: ctx.response.response,
injectResponseHeaders: ctx.response.getHeaders(),
})

return ctx.response.stream(stream)
Expand Down

0 comments on commit 75a6985

Please sign in to comment.