Skip to content

Commit

Permalink
fix(mongodb): Added Update Method Prototype to MongoDBService Class (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
smngvlkz committed Jun 9, 2024
1 parent 22243e4 commit 428f23a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/mongodb/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export class MongoDBService<
return this._create(data, params)
}

async update(id: NullableAdapterId, data: Data, params?: ServiceParams): Promise<Result>
async update(id: AdapterId, data: Data, params?: ServiceParams): Promise<Result> {
return this._update(id, data, {
...params,
Expand Down

0 comments on commit 428f23a

Please sign in to comment.