diff --git a/pkg/account/storage/v2/sql/api_key_v2/select_api_key_v2_count.sql b/pkg/account/storage/v2/sql/api_key_v2/select_api_key_v2_count.sql index 662ddc4b1..b7ccb3459 100644 --- a/pkg/account/storage/v2/sql/api_key_v2/select_api_key_v2_count.sql +++ b/pkg/account/storage/v2/sql/api_key_v2/select_api_key_v2_count.sql @@ -2,4 +2,5 @@ SELECT COUNT(1) FROM api_key +LEFT JOIN environment_v2 ON api_key.environment_id = environment_v2.id %s \ No newline at end of file