Skip to content

Commit eeeabff

Browse files
committed
squash: update the express example to the latest sdk
1 parent da365e0 commit eeeabff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/express-ex/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable no-console */
22

33
const express = require("express");
4-
const { HTTPReceiver } = require("../../src");
4+
const { HTTPReceiver } = require("cloudevents-sdk");
55

66
const app = express();
77
const receiver = new HTTPReceiver();

examples/express-ex/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"author": "[email protected]",
1515
"license": "Apache-2.0",
1616
"dependencies": {
17-
"cloudevents-sdk": "~1.0.0",
17+
"cloudevents-sdk": "~2.0.1",
1818
"express": "^4.17.1"
1919
}
2020
}

0 commit comments

Comments
 (0)