Skip to content

Commit

Permalink
fix: context null
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-lemon committed Aug 14, 2019
1 parent 750f6da commit 5435b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/builder/WEB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export const builder: MainBuilder<WebResult> = (NS, decode_next_handler) => {
if (event === undefined) return main;

//! WARN! allows for using callbacks as finish/error-handlers
context.callbackWaitsForEmptyEventLoop = false;
if (context) context.callbackWaitsForEmptyEventLoop = false;

//! API parameters.
const $param = event.queryStringParameters || {};
Expand Down

0 comments on commit 5435b9b

Please sign in to comment.