Skip to content

Commit f28e1e3

Browse files
authored
Merge pull request rmosolgo#4145 from duffuniverse/fix-visibility-docs
Fix typo in code example in Argument Visibility docs
2 parents c7480b5 + 3ae01d2 commit f28e1e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/authorization/visibility.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class Types::BaseArgument < GraphQL::Schema::Argument
8686
super(*args, **kwargs, &block)
8787
end
8888

89-
def authorized?(ctx)
89+
def visible?(ctx)
9090
super && (@require_logged_in ? ctx[:viewer].present? : true)
9191
end
9292
end

0 commit comments

Comments
 (0)