Skip to content

Commit 381a5a2

Browse files
committed
Fix linter errors
1 parent b6fa1c0 commit 381a5a2

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

packages/sdk/src/shared/index.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -800,13 +800,19 @@ export abstract class BaseClient {
800800
params.q = opts.q;
801801
}
802802
if (opts?.hasActions != null) {
803-
params.has_actions = opts.hasActions ? "1" : "0";
803+
params.has_actions = opts.hasActions
804+
? "1"
805+
: "0";
804806
}
805807
if (opts?.hasComponents != null) {
806-
params.has_components = opts.hasComponents ? "1" : "0";
808+
params.has_components = opts.hasComponents
809+
? "1"
810+
: "0";
807811
}
808812
if (opts?.hasTriggers != null) {
809-
params.has_triggers = opts.hasTriggers ? "1" : "0";
813+
params.has_triggers = opts.hasTriggers
814+
? "1"
815+
: "0";
810816
}
811817

812818
this.addRelationOpts(params, opts);

0 commit comments

Comments
 (0)