Browse Source

Fix typo in _rev schema field type

gh-pages
Andrew Kingston 6 years ago
parent
commit
963f5e0ad8
  1. 2
      packages/builder/src/builderStore/dataBinding.js

2
packages/builder/src/builderStore/dataBinding.js

@ -123,7 +123,7 @@ export const getContextBindings = (rootComponent, componentId) => {
// Add _id and _rev fields for certain types
if (datasource.type === "table" || datasource.type === "link") {
schema["_id"] = { type: "string" }
schema["_rev"] = { type: "string " }
schema["_rev"] = { type: "string" }
}
}
if (!schema || !tableName) {

Loading…
Cancel
Save