ghost-cli icon indicating copy to clipboard operation
ghost-cli copied to clipboard

Updated JSON structure to be compatible with ghost >= 0.5.2

Open mmornati opened this issue 11 years ago • 0 comments

It seems the Json data stracture changed with with the new version of ghost:

{"db":[{"meta":{"exported_on":1413042678204,"version":"003"},"data":{" ....

It is a quick and dirty fix. Maybe would be better to add a try/catch to be compatible with all ghost versions.

mmornati avatar Oct 11 '14 16:10 mmornati