Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit f01414e

Browse files
committed
remove the billing enum type stuff because the enum maps to a diff value than the key, GQL doesnt like that
1 parent 5b63317 commit f01414e

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

graphql_api/types/enums/enum_types.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from ariadne import EnumType
2-
from shared.plan.constants import PlanBillingRate, TierName, TrialStatus
2+
from shared.plan.constants import TierName, TrialStatus
33

44
from codecov_auth.models import RepositoryToken
55
from compare.commands.compare.interactors.fetch_impacted_files import (
@@ -51,7 +51,6 @@
5151
EnumType("SyncProvider", SyncProvider),
5252
EnumType("TierName", TierName),
5353
EnumType("TrialStatus", TrialStatus),
54-
EnumType("PlanBillingRate", PlanBillingRate),
5554
EnumType("YamlStates", YamlStates),
5655
EnumType("BundleLoadTypes", BundleLoadTypes),
5756
EnumType("TestResultsOrderingParameter", TestResultsOrderingParameter),

graphql_api/types/enums/plan_billing_rate.graphql

Lines changed: 0 additions & 4 deletions
This file was deleted.

graphql_api/types/plan/plan.graphql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
type Plan {
22
baseUnitPrice: Int!
33
benefits: [String!]!
4-
billingRate: PlanBillingRate!
4+
billingRate: String
55
hasSeatsLeft: Boolean!
66
isEnterprisePlan: Boolean!
77
isFreePlan: Boolean!

0 commit comments

Comments
 (0)