add quotes to bid amount
This commit is contained in:
parent
fda83dca5b
commit
90a5dcf54d
4 changed files with 4 additions and 4 deletions
|
@ -157,7 +157,7 @@ inquirer
|
||||||
method: 'channel_new',
|
method: 'channel_new',
|
||||||
params: {
|
params: {
|
||||||
channel_name: thumbnailChannelDefault,
|
channel_name: thumbnailChannelDefault,
|
||||||
amount : 0.1,
|
amount : '0.1',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
.then(response => {
|
.then(response => {
|
||||||
|
|
|
@ -18,7 +18,7 @@ const createPublishParams = (filePath, name, title, description, license, nsfw,
|
||||||
const publishParams = {
|
const publishParams = {
|
||||||
name,
|
name,
|
||||||
file_path: filePath,
|
file_path: filePath,
|
||||||
bid : 0.01,
|
bid : '0.01',
|
||||||
metadata : {
|
metadata : {
|
||||||
description,
|
description,
|
||||||
title,
|
title,
|
||||||
|
|
|
@ -10,7 +10,7 @@ const createThumbnailPublishParams = (thumbnailFilePath, claimName, license, nsf
|
||||||
return {
|
return {
|
||||||
name : `${claimName}-thumb`,
|
name : `${claimName}-thumb`,
|
||||||
file_path: thumbnailFilePath,
|
file_path: thumbnailFilePath,
|
||||||
bid : 0.01,
|
bid : '0.01',
|
||||||
metadata : {
|
metadata : {
|
||||||
title : `${claimName} thumbnail`,
|
title : `${claimName} thumbnail`,
|
||||||
description: `a thumbnail for ${claimName}`,
|
description: `a thumbnail for ${claimName}`,
|
||||||
|
|
|
@ -116,7 +116,7 @@ module.exports = {
|
||||||
method: 'channel_new',
|
method: 'channel_new',
|
||||||
params: {
|
params: {
|
||||||
channel_name: name,
|
channel_name: name,
|
||||||
amount : 0.1,
|
amount : '0.1',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
.then(response => {
|
.then(response => {
|
||||||
|
|
Loading…
Reference in a new issue