Reverse include defaults check.
This commit is contained in:
parent
6b86ba5d61
commit
eaeedfe314
|
@ -23,7 +23,7 @@ export abstract class BaseOperation<P> {
|
|||
|
||||
for (const [key, value] of Object.entries(this.parameters)) {
|
||||
if (
|
||||
includeDefaults &&
|
||||
!includeDefaults &&
|
||||
key in defaults &&
|
||||
(defaults as Record<string, any>)[key] === value
|
||||
) {
|
||||
|
|
Loading…
Reference in New Issue