Skip to content

Commit

Permalink
fix: properly return from tracer during introspection queries (#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsstevenson authored Dec 9, 2024
1 parent fb4feb8 commit 0e2fc97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/app/lib/api_analytics_tracer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module ApiAnalyticsTracer
def analyze_query(query: )
query_type = query.selected_operation.selections&.first&.name

return if query_type == '__schema'
return super if query_type == '__schema'

params = {
user_ip: query.context[:request_ip],
Expand Down

0 comments on commit 0e2fc97

Please sign in to comment.