diff --git a/app/graphql/types/analytics/revenue_streams/object.rb b/app/graphql/types/analytics/revenue_streams/object.rb index 5ba00d00ddb..5cb4c0f05dc 100644 --- a/app/graphql/types/analytics/revenue_streams/object.rb +++ b/app/graphql/types/analytics/revenue_streams/object.rb @@ -6,7 +6,7 @@ module RevenueStreams class Object < Types::BaseObject graphql_name "RevenueStreams" - field :amount_currency, Types::CurrencyEnum, null: true + field :amount_currency, Types::CurrencyEnum, null: false field :coupons_amount_cents, GraphQL::Types::BigInt, null: false field :gross_revenue_amount_cents, GraphQL::Types::BigInt, null: false diff --git a/schema.graphql b/schema.graphql index 72b1cd92261..3b496afd32c 100644 --- a/schema.graphql +++ b/schema.graphql @@ -7202,7 +7202,7 @@ input RetryWebhookInput { } type RevenueStreams { - amountCurrency: CurrencyEnum + amountCurrency: CurrencyEnum! commitmentFeeAmountCents: BigInt! couponsAmountCents: BigInt! endOfPeriodDt: ISO8601Date! diff --git a/schema.json b/schema.json index 2c7df603307..31eea4d6d4b 100644 --- a/schema.json +++ b/schema.json @@ -35665,9 +35665,13 @@ "name": "amountCurrency", "description": null, "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "CurrencyEnum", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null,