@@ -56,12 +56,12 @@ export class SupabaseDatabase implements DatabaseInterface {
5656 }
5757
5858 async getReleaseTrackingMetricsForAllReleases ( ) : Promise < TrackingMetrics [ ] > {
59- const { data : iosCount , error : iosError } = await this . supabase
59+ const { count : iosCount , error : iosError } = await this . supabase
6060 . from ( Tables . RELEASES_TRACKING )
6161 . select ( 'platform' , { count : 'estimated' , head : true } )
6262 . eq ( 'platform' , 'ios' ) ;
6363
64- const { data : androidCount , error : androidError } = await this . supabase
64+ const { count : androidCount , error : androidError } = await this . supabase
6565 . from ( Tables . RELEASES_TRACKING )
6666 . select ( 'platform' , { count : 'estimated' , head : true } )
6767 . eq ( 'platform' , 'android' ) ;
@@ -93,13 +93,13 @@ export class SupabaseDatabase implements DatabaseInterface {
9393 return data ;
9494 }
9595 async getReleaseTrackingMetrics ( releaseId : string ) : Promise < TrackingMetrics [ ] > {
96- const { data : iosCount , error : iosError } = await this . supabase
96+ const { count : iosCount , error : iosError } = await this . supabase
9797 . from ( Tables . RELEASES_TRACKING )
9898 . select ( 'platform' , { count : 'estimated' , head : true } )
9999 . eq ( 'release_id' , releaseId )
100100 . eq ( 'platform' , 'ios' ) ;
101101
102- const { data : androidCount , error : androidError } = await this . supabase
102+ const { count : androidCount , error : androidError } = await this . supabase
103103 . from ( Tables . RELEASES_TRACKING )
104104 . select ( 'platform' , { count : 'estimated' , head : true } )
105105 . eq ( 'release_id' , releaseId )
0 commit comments