Skip to content

Commit da015c9

Browse files
committed
fix missing curry
1 parent ea07dff commit da015c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/routes/bins/view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const debug = require("debug")("mockbin");
22

3-
module.exports = function (req, res, next) {
3+
module.exports = (client) => (req, res, next) => {
44
client.get(`bin:${req.params.uuid + req.params[0]}`, (err, value) => {
55
if (err) {
66
debug(err);

0 commit comments

Comments
 (0)