Matomo integration (#7009)

This commit is contained in:
Tom Moor
2024-06-12 08:03:38 -04:00
committed by GitHub
parent 0bf66cc560
commit df3cd22aee
19 changed files with 314 additions and 62 deletions

View File

@@ -147,13 +147,13 @@ router.get("*", shareDomains(), async (ctx, next) => {
}
const analytics = team
? await Integration.findOne({
? await Integration.findAll({
where: {
teamId: team.id,
type: IntegrationType.Analytics,
},
})
: undefined;
: [];
return renderApp(ctx, next, {
analytics,