Skip to content

Commit

Permalink
fix missing curry
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkav committed Jan 17, 2024
1 parent ea07dff commit da015c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/routes/bins/view.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const debug = require("debug")("mockbin");

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

0 comments on commit da015c9

Please sign in to comment.