Browse Source

Formatting code - was causing PR to fail.

gh-pages
mike12345567 6 years ago
parent
commit
2a2dad3ca4
  1. 4
      packages/server/src/db/linkedRows/linkUtils.js

4
packages/server/src/db/linkedRows/linkUtils.js

@ -27,12 +27,12 @@ exports.createLinkView = async instanceId => {
let doc2 = doc.doc2 let doc2 = doc.doc2
emit([doc1.tableId, doc1.rowId], { emit([doc1.tableId, doc1.rowId], {
id: doc2.rowId, id: doc2.rowId,
thisId: doc1.rowId, thisId: doc1.rowId,
fieldName: doc1.fieldName, fieldName: doc1.fieldName,
}) })
emit([doc2.tableId, doc2.rowId], { emit([doc2.tableId, doc2.rowId], {
id: doc1.rowId, id: doc1.rowId,
thisId: doc2.rowId, thisId: doc2.rowId,
fieldName: doc2.fieldName, fieldName: doc2.fieldName,
}) })
} }

Loading…
Cancel
Save