fix getting params from upload field

This commit is contained in:
Iuri Matias 2018-07-07 22:16:58 +03:00
parent 3ddbe0ea3d
commit f7ac654d92
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ class IPFS {
_getNodeUrl() {
if (this.storageConfig.upload.provider === 'ipfs') {
let { protocol, host, port } = this.storageConfig.upload.provider;
let { protocol, host, port } = this.storageConfig.upload;
return (protocol || 'http') + '://' + host + ':' + port + '/api/v0/version';
}