Skip to content

Commit

Permalink
Add auth get coupon
Browse files Browse the repository at this point in the history
  • Loading branch information
tspenov committed Jan 21, 2025
1 parent bdcc523 commit eea0058
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 eea0058

Please sign in to comment.