Fix filename in sample

Mismatch between code sample and described js filename.
This commit is contained in:
Sébastien Ros
2016-12-07 15:56:56 -08:00
committed by Steve Sanderson
parent 8d1cb3a537
commit 6545e11bf2

View File

@@ -67,7 +67,7 @@ public async Task<IActionResult> MyAction([FromServices] INodeServices nodeServi
} }
``` ```
Of course, you also need to supply the Node.js code you want to invoke. Create a file called `addNumber.js` at the root of your ASP.NET Core application, and add the following code: Of course, you also need to supply the Node.js code you want to invoke. Create a file called `addNumbers.js` at the root of your ASP.NET Core application, and add the following code:
```javascript ```javascript
module.exports = function (callback, first, second) { module.exports = function (callback, first, second) {