Skip to content

Commit 847363d

Browse files
committed
Docs.
1 parent 0e8149c commit 847363d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Let't start with creating the context initialisation point of our app, well take
1515
// main.js
1616

1717
const express = require('express');
18-
const { AsyncResource } = require('async_hooks');
18+
const { AsyncResource } = require('async_hooks');
1919
const Context = require('node-execution-context');
2020
const UserController = require('./controllers/user');
2121
const app = express();
@@ -42,7 +42,7 @@ const mongo = require('../service/mongo');
4242
const logger = require('../service/logger');
4343

4444
export class UserController {
45-
async create (req, res, next) {
45+
async create (req) {
4646
const { user } = req.body;
4747

4848
// This will return the reference number set by out ContextMiddleware

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-execution-context",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"description": "Provides execution context wrapper for node JS, can be used to create execution wrapper for handling requests and more",
55
"author": "Oded Goldglas <odedglas@gmail.com>",
66
"license": "ISC",

0 commit comments

Comments
 (0)