Skip to content

Commit

Permalink
Strip params if null is passed (#292)
Browse files Browse the repository at this point in the history
* Strip params if null

* Bump coverage
  • Loading branch information
FrederikBolding authored Nov 22, 2023
1 parent f10765d commit b3d0506
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const baseConfig = {
// An object that configures minimum threshold enforcement for coverage results
coverageThreshold: {
global: {
branches: 65.11,
branches: 65.43,
functions: 65.65,
lines: 66.74,
statements: 66.81,
Expand Down
2 changes: 1 addition & 1 deletion src/BaseProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export abstract class BaseProvider extends SafeEventEmitter {
}

const payload =
params === undefined
params === undefined || params === null
? {
method,
}
Expand Down

0 comments on commit b3d0506

Please sign in to comment.