Browse Source

When converting v1 to v2 JSONs set version to "v2"

master
Trevor Bedford 3 years ago
parent
commit
c5ee4b3df6
  1. 2
      cli/server/convertJsonSchemas.js

2
cli/server/convertJsonSchemas.js

@ -361,7 +361,7 @@ const setNodeBranchAttrs = (v2) => {
const convertFromV1 = ({tree, meta}) => {
const v2 = {version: "2.0", meta: {}};
const v2 = {version: "v2", meta: {}};
// set metadata
setColorings(v2["meta"], meta);
setMiscMetaProperties(v2["meta"], meta);

Loading…
Cancel
Save