File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -603,7 +603,7 @@ export const processFunnelAnalytics = async (
603603 WITH all_step_events AS (
604604 ${ stepQueries . join ( '\n UNION ALL\n' ) }
605605 )
606- SELECT
606+ SELECT DISTINCT
607607 step_number,
608608 step_name,
609609 session_id,
@@ -859,7 +859,7 @@ export const processFunnelAnalyticsByReferrer = async (
859859 WITH all_step_events AS (
860860 ${ stepQueries . join ( '\n UNION ALL\n' ) }
861861 )
862- SELECT
862+ SELECT DISTINCT
863863 step_number,
864864 step_name,
865865 session_id,
Original file line number Diff line number Diff line change @@ -228,7 +228,6 @@ export const goalsRouter = createTRPCRouter({
228228 key : cacheKey ,
229229 ttl : ANALYTICS_CACHE_TTL ,
230230 tables : [ 'goals' ] ,
231- disabled : true ,
232231 queryFn : async ( ) => {
233232 await authorizeWebsiteAccess ( ctx , input . websiteId , 'read' ) ;
234233 const goal = await ctx . db
@@ -304,7 +303,6 @@ export const goalsRouter = createTRPCRouter({
304303 key : cacheKey ,
305304 ttl : ANALYTICS_CACHE_TTL ,
306305 tables : [ 'goals' ] ,
307- disabled : true ,
308306 queryFn : async ( ) => {
309307 await authorizeWebsiteAccess ( ctx , input . websiteId , 'read' ) ;
310308 const goalsList = await ctx . db
You can’t perform that action at this time.
0 commit comments