Skip to content

Commit 9f22065

Browse files
authored
Fix filename in sample
Mismatch between code sample and described js filename.
1 parent 8705a4b commit 9f22065

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/Microsoft.AspNetCore.NodeServices

‎src/Microsoft.AspNetCore.NodeServices/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public async Task<IActionResult> MyAction([FromServices] INodeServices nodeServi
6767
}
6868
```
6969

70-
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:
70+
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:
7171

7272
```javascript
7373
module.exports = function (callback, first, second) {

0 commit comments

Comments
 (0)