Skip to content

Commit

Permalink
remove func args trailing comma
Browse files Browse the repository at this point in the history
  • Loading branch information
animir committed Jul 10, 2021
1 parent ce8d1af commit c563f1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/RateLimiterMongo.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ class RateLimiterMongo extends RateLimiterStoreAbstract {
this._collection.findOneAndUpdate(
where,
upsertData,
upsertOptions,
upsertOptions
).then((res) => {
resolve(res);
}).catch((errUpsert) => {
Expand All @@ -211,7 +211,7 @@ class RateLimiterMongo extends RateLimiterStoreAbstract {
this._collection.replaceOne(
replaceWhere,
replaceTo,
upsertOptions,
upsertOptions
).then((res) => {
resolve(res);
}).catch((errReplace) => {
Expand Down

0 comments on commit c563f1f

Please sign in to comment.