Skip to content

Commit e7f20d5

Browse files
author
Pablo Andres Dorado Suarez
committed
Adapt to new API spec
1 parent 4853176 commit e7f20d5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ var multer = new Multer({
2929
});
3030

3131
module.exports = new API.RouteMiddleware('booljs-multer', {
32-
action: function (url, router) {
32+
action: function (_instance, router, route) {
3333
router.use('/static', sstatic('static'));
3434
return multer.any();
3535
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "booljs-multer",
3-
"version": "0.0.2",
3+
"version": "0.1.0",
44
"description": "RouteMiddleware to allow developers support file uploads in their APIs",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)