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,