Skip to content

Commit

Permalink
Merge pull request #4531 from santiment/add-auth-get-coupon
Browse files Browse the repository at this point in the history
Add auth get coupon
  • Loading branch information
tspenov authored Jan 21, 2025
2 parents 829d89a + db45a54 commit f58a997
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/sanbase_web/graphql/schema/queries/billing_queries.ex
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ defmodule SanbaseWeb.Graphql.Schema.BillingQueries do
meta(access: :free)

arg(:coupon, non_null(:string))
middleware(JWTAuth)

resolve(&BillingResolver.get_coupon/3)
end
Expand Down

0 comments on commit f58a997

Please sign in to comment.