From 428f23a8c622cd8bc4d06253206aadd514267846 Mon Sep 17 00:00:00 2001 From: Simangaliso Vilakazi <125494888+smngvlkz@users.noreply.github.com> Date: Sun, 9 Jun 2024 22:30:46 +0200 Subject: [PATCH] fix(mongodb): Added Update Method Prototype to MongoDBService Class (#3494) --- packages/mongodb/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/mongodb/src/index.ts b/packages/mongodb/src/index.ts index 565d555d43..04e8d31676 100644 --- a/packages/mongodb/src/index.ts +++ b/packages/mongodb/src/index.ts @@ -41,6 +41,7 @@ export class MongoDBService< return this._create(data, params) } + async update(id: NullableAdapterId, data: Data, params?: ServiceParams): Promise async update(id: AdapterId, data: Data, params?: ServiceParams): Promise { return this._update(id, data, { ...params,