Skip to content

Commit 3ff66ef

Browse files
committed
Initilize to Initialize
1 parent 44bd014 commit 3ff66ef

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const HttpContext = require('node-http-context');
1111

1212
const app = express();
1313
// Initialize Httpcontext middleware service
14-
HttpContext.Initilize(app);
14+
HttpContext.Initialize(app);
1515
// After initialize the httpcontext we can get httpcontext anywhere
1616
```
1717

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class HttpContext {
44
/**
55
* @param {Object} app - Express application instance.
66
*/
7-
static Initilize(app) {
7+
static Initialize(app) {
88
if (app) {
99
app.use(Util.middleware);
1010
app.use((req, res, next) => {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-http-context",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Get HttpContext from anywhere",
55
"main": "index.js",
66
"repository": {

0 commit comments

Comments
 (0)