Skip to content

Commit

Permalink
fix(data): Convert revenue stream amount currency to non nullable (#3202
Browse files Browse the repository at this point in the history
)
  • Loading branch information
rsempe authored Feb 18, 2025
1 parent b4fc0a0 commit 71d7238
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/graphql/types/analytics/revenue_streams/object.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion schema.graphql

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 71d7238

Please sign in to comment.