feat: Rewrite Front End cloud and posthog hooks using TypeScript (no-changelog) (#5491)

This commit is contained in:
Alex Grozav
2023-11-13 15:10:42 +02:00
committed by GitHub
parent 3dfabc37d8
commit a262c450f7
41 changed files with 1439 additions and 131 deletions

View File

@@ -642,7 +642,10 @@ export default defineComponent({
personalization_survey_n8n_version: this.rootStore.versionCli,
};
await this.$externalHooks().run('personalizationModal.onSubmit', survey);
await this.$externalHooks().run(
'personalizationModal.onSubmit',
survey as IPersonalizationLatestVersion,
);
await this.usersStore.submitPersonalizationSurvey(survey as IPersonalizationLatestVersion);