Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit ecb1a1e

Browse files
committed
chore: bump js-ipfs-api and fix http ping validation
1 parent bf608db commit ecb1a1e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/cli/commands/ping.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ module.exports = {
2222
handler (argv) {
2323
const peerId = argv.peerId
2424
const count = argv.count || 10
25-
2625
pull(
2726
argv.ipfs.pingPullStream(peerId, { count }),
2827
pullCatch(err => {

src/http/api/resources/ping.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ exports.get = {
1919
}),
2020
count: Joi.number().greater(0),
2121
arg: Joi.string()
22-
})
22+
}).unknown()
2323
},
2424
handler: (request, reply) => {
2525
const ipfs = request.server.app.ipfs

0 commit comments

Comments
 (0)