Skip to content

Commit 9defd8d

Browse files
committed
updates
1 parent 031e534 commit 9defd8d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

components/posthog/actions/get-cohorts/get-cohorts.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export default {
3939
max: this.maxResults,
4040
},
4141
});
42-
$.export("$summary", `Successfully retrieved ${cohorts.length} cohort${cohorts.length === "1"
42+
$.export("$summary", `Successfully retrieved ${cohorts.length} cohort${cohorts.length === 1
4343
? ""
4444
: "s"}`);
4545
return cohorts;

components/posthog/actions/get-persons/get-persons.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default {
5555
max: this.maxResults,
5656
},
5757
});
58-
$.export("$summary", `Successfully retrieved ${persons.length} person${persons.length === "1"
58+
$.export("$summary", `Successfully retrieved ${persons.length} person${persons.length === 1
5959
? ""
6060
: "s"}`);
6161
return persons;

components/posthog/actions/get-surveys/get-surveys.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default {
4848
max: this.maxResults,
4949
},
5050
});
51-
$.export("$summary", `Successfully retrieved ${surveys.length} survey${surveys.length === "1"
51+
$.export("$summary", `Successfully retrieved ${surveys.length} survey${surveys.length === 1
5252
? ""
5353
: "s"}`);
5454
return surveys;

0 commit comments

Comments
 (0)