Skip to content

Commit 2da0642

Browse files
author
Castro, Mario
committed
Fix function generation
1 parent ba3d510 commit 2da0642

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/rocket-webhook-azure-infrastructure/src/functions/webhook-function.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ const { boosterRocketDispatcher } = require('./dist/index')
88
static generateFunctionsCode(endpoint: string): string {
99
const name = endpoint.replace(/\//g, '_')
1010
return `
11-
const { app } = require('@azure/functions')
12-
const { boosterRocketDispatcher } = require('./dist/index')
13-
1411
app.http('${name}', {
1512
methods: ['POST', 'GET'],
1613
authLevel: 'anonymous',

0 commit comments

Comments
 (0)