From 1568702a6ddcd5f4c1f061d9eeed0c18ef8c4a0a Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Fri, 25 Jun 2021 17:21:36 +0100 Subject: [PATCH] Linting + formatting. --- packages/server/src/db/linkedRows/index.js | 9 +-------- packages/server/src/db/linkedRows/linkUtils.js | 7 +------ 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/packages/server/src/db/linkedRows/index.js b/packages/server/src/db/linkedRows/index.js index 610a424eaf..754340046d 100644 --- a/packages/server/src/db/linkedRows/index.js +++ b/packages/server/src/db/linkedRows/index.js @@ -98,14 +98,7 @@ async function getFullLinkedDocs(appId, links) { * row operations and the table for table operations. */ exports.updateLinks = async function (args) { - const { - eventType, - appId, - row, - tableId, - table, - oldTable, - } = args + const { eventType, appId, row, tableId, table, oldTable } = args const baseReturnObj = row == null ? table : row if (appId == null) { throw "Cannot operate without an instance ID." diff --git a/packages/server/src/db/linkedRows/linkUtils.js b/packages/server/src/db/linkedRows/linkUtils.js index e7887669f8..12e72af78d 100644 --- a/packages/server/src/db/linkedRows/linkUtils.js +++ b/packages/server/src/db/linkedRows/linkUtils.js @@ -30,12 +30,7 @@ exports.createLinkView = createLinkView * (if any). */ exports.getLinkDocuments = async function (args) { - const { - appId, - tableId, - rowId, - includeDocs, - } = args + const { appId, tableId, rowId, includeDocs } = args const db = new CouchDB(appId) let params if (rowId != null) {