Skip to content

Commit 0d95797

Browse files
Merge pull request #3 from Crowdhandler/context-alterations
Context switching
2 parents 2c9d1de + 3e17125 commit 0d95797

6 files changed

Lines changed: 4 additions & 4 deletions

File tree

dist/originOverride.zip

0 Bytes
Binary file not shown.

dist/originResponse.zip

-76.8 KB
Binary file not shown.

dist/viewerRequest.zip

0 Bytes
Binary file not shown.

dist/viewerResponse.zip

76.8 KB
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const http_helpers = require("./helpers/http");
55

66
require("source-map-support").install();
77

8-
module.exports.originResponse = async (event) => {
8+
module.exports.viewerResponse = async (event) => {
99
let APIDomain;
1010
let crowdhandlerResponseID;
1111
let crowdhandlerToken;

serverless.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ package:
2424
# Environment Setup
2525
provider:
2626
name: aws
27-
runtime: nodejs12.x
27+
runtime: nodejs14.x
2828

2929
# Function Definition
3030
functions:
3131
originOverride:
3232
handler: handlerOriginOverride.originOverride
3333
viewerRequest:
3434
handler: handlerViewerRequest.viewerRequest
35-
originResponse:
36-
handler: handlerOriginResponse.originResponse
35+
viewerResponse:
36+
handler: handlerViewerResponse.viewerResponse
3737

3838
# Plugins
3939
plugins:

0 commit comments

Comments
 (0)