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)) {
|
for (const [key, value] of Object.entries(this.parameters)) {
|
||||||
if (
|
if (
|
||||||
includeDefaults &&
|
!includeDefaults &&
|
||||||
key in defaults &&
|
key in defaults &&
|
||||||
(defaults as Record<string, any>)[key] === value
|
(defaults as Record<string, any>)[key] === value
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in New Issue