metaplex
metaplex copied to clipboard
[Bug]: Invalid option EndSettings
Which package is this bug report for?
candy machine cli
Issue description
- Create a candy machine without endsettings
- run
anchorProgram.instruction.updateCandyMachine
and set endSettings to:
{
endSettingsType: {
amount: true
},
number: new BN(50)
}
OR
{
endSettingsType: {
date: true
},
number: new BN(parseDate("now"))
}
Result: invalid option endSettings
Command
No response
Relevant log output
No response
Operating system
Windows
Priority this issue should have
Medium (should be fixed soon)
Check the Docs First
- [X] I have checked the docs and it didn't solve my issue
I believe you have to wrap every key in quotes ( " one on each side of the key). Json files require to have keys wrapped in quotes.