From 47fb67ebfcee14b7a2a0cb73bc6f24140792c2e7 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Sun, 20 Jun 2021 10:55:12 +0100 Subject: [PATCH] Linting. --- packages/server/src/db/linkedRows/LinkController.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/server/src/db/linkedRows/LinkController.js b/packages/server/src/db/linkedRows/LinkController.js index cba4386105..c8331dec6b 100644 --- a/packages/server/src/db/linkedRows/LinkController.js +++ b/packages/server/src/db/linkedRows/LinkController.js @@ -218,7 +218,10 @@ class LinkController { rowId: linkId, includeDocs: IncludeDocs.EXCLUDE, }) - ).filter(link => link.id !== row._id && link.fieldName === linkedSchema.name) + ).filter( + link => + link.id !== row._id && link.fieldName === linkedSchema.name + ) // The 1 side of 1:N is already related to something else // You must remove the existing relationship