Skip to content

Commit 28598ae

Browse files
committed
Formatter
1 parent bda0f10 commit 28598ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/providers/https.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ export function _onCallWithOptions(
8080
// onCallHandler sniffs the function length of the passed-in callback
8181
// and the user could have only tried to listen to data. Wrap their handler
8282
// in another handler to avoid accidentally triggering the v2 API
83-
const fixedLen = (data: any, context: CallableContext) => handler(data, context);
83+
const fixedLen = (data: any, context: CallableContext) =>
84+
handler(data, context);
8485
const func: any = onCallHandler({ origin: true, methods: 'POST' }, fixedLen);
8586

8687
func.__trigger = {

0 commit comments

Comments
 (0)