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 bda0f10 commit 28598aeCopy full SHA for 28598ae
src/providers/https.ts
@@ -80,7 +80,8 @@ export function _onCallWithOptions(
80
// onCallHandler sniffs the function length of the passed-in callback
81
// and the user could have only tried to listen to data. Wrap their handler
82
// in another handler to avoid accidentally triggering the v2 API
83
- const fixedLen = (data: any, context: CallableContext) => handler(data, context);
+ const fixedLen = (data: any, context: CallableContext) =>
84
+ handler(data, context);
85
const func: any = onCallHandler({ origin: true, methods: 'POST' }, fixedLen);
86
87
func.__trigger = {
0 commit comments