File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 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');
1111
1212const 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
Original file line number Diff line number Diff 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 ) => {
Original file line number Diff line number Diff line change 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" : {
You can’t perform that action at this time.
0 commit comments