File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ const HttpContext = require('node-http-context');
11
11
12
12
const app = express ();
13
13
// Initialize Httpcontext middleware service
14
- HttpContext .Initilize (app);
14
+ HttpContext .Initialize (app);
15
15
// After initialize the httpcontext we can get httpcontext anywhere
16
16
```
17
17
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ class HttpContext {
4
4
/**
5
5
* @param {Object } app - Express application instance.
6
6
*/
7
- static Initilize ( app ) {
7
+ static Initialize ( app ) {
8
8
if ( app ) {
9
9
app . use ( Util . middleware ) ;
10
10
app . use ( ( req , res , next ) => {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " node-http-context" ,
3
- "version" : " 1.0.0 " ,
3
+ "version" : " 1.0.1 " ,
4
4
"description" : " Get HttpContext from anywhere" ,
5
5
"main" : " index.js" ,
6
6
"repository" : {
You can’t perform that action at this time.
0 commit comments