Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Commit

Permalink
object patch add-link: don't force to have a Buffer for 'ref' (#578)
Browse files Browse the repository at this point in the history
* object patch add-link: don't force to have a Buffer for 'ref'

* remove non used var

https://travis-ci.org/ipfs/js-ipfs-api/jobs/253549628#L3366
  • Loading branch information
MichaelMure authored and daviddias committed Jul 22, 2017
1 parent 46cb18b commit d8be127
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/object/addLink.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
'use strict'

const promisify = require('promisify-es6')
const bs58 = require('bs58')
const cleanMultihash = require('../utils/clean-multihash')

module.exports = (send) => {
Expand All @@ -27,7 +26,7 @@ module.exports = (send) => {
args: [
multihash,
dLink.name,
bs58.encode(dLink.multihash).toString()
cleanMultihash(dLink.multihash)
]
}, (err, result) => {
if (err) {
Expand Down

0 comments on commit d8be127

Please sign in to comment.