From 8f2b3f6d16254cb138c9dd181aae049dd51a71c1 Mon Sep 17 00:00:00 2001 From: Sjors van Holst Date: Wed, 21 Dec 2022 21:37:56 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20update=20issue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controller/GeneralController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/GeneralController.ts b/controller/GeneralController.ts index 6a1d0a8..a4fe688 100644 --- a/controller/GeneralController.ts +++ b/controller/GeneralController.ts @@ -123,7 +123,7 @@ export default class GeneralController implements InterfaceController { populateInstance(value, this.generalColumns, object, true); - const result = await this.generalRepository.updateObject(object, filter); + const result = await this.generalRepository.updateObject(object); const parsed = renderREST(result); response.body = parsed;