Fix typo in _rev schema field type

This commit is contained in:
Andrew Kingston 2021-02-04 15:48:32 +00:00
parent 725d13cad3
commit 963f5e0ad8
1 changed files with 1 additions and 1 deletions

View File

@ -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) {