File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change 1
1
- Added default value for ` emulators.dataconnect.dataDir ` to ` init dataconnect ` .
2
2
- Fixed an issue where ` firebase ` would error out instead of displaying help text.
3
+ - Fixed an issue where emulator returned error when emulating alerts functions written in python (#8019 )
Original file line number Diff line number Diff line change @@ -189,6 +189,7 @@ export class EventarcEmulator implements EmulatorInstance {
189
189
. request < CloudEvent < any > , NodeJS . ReadableStream > ( {
190
190
method : "POST" ,
191
191
path : `/functions/projects/${ trigger . projectId } /triggers/${ trigger . triggerName } ` ,
192
+ headers : { "Content-Type" : "application/json" } ,
192
193
body : JSON . stringify ( event ) ,
193
194
responseType : "stream" ,
194
195
resolveOnHTTPError : true ,
You can’t perform that action at this time.
0 commit comments