We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23510f7 commit b71fea9Copy full SHA for b71fea9
src/v1/cloud-functions.ts
@@ -367,7 +367,7 @@ export function makeCloudFunction<EventData>({
367
service,
368
triggerResource,
369
}: MakeCloudFunctionArgs<EventData>): CloudFunction<EventData> {
370
- handler = withInit(handler);
+ handler = withInit(handler ?? contextOnlyHandler);
371
const cloudFunction: any = (data: any, context: any) => {
372
if (legacyEventType && context.eventType === legacyEventType) {
373
/*
0 commit comments