We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c042410 commit 2041154Copy full SHA for 2041154
README.md
@@ -63,7 +63,7 @@ struct GetUser
63
end
64
65
def call
66
- user = Onyx.query(User.where(id: params.path.id)).first? # This code is part of onyx/sql
+ user = Onyx::SQL.query(User.where(id: params.path.id)).first? # This code is part of onyx/sql
67
raise UserNotFound.new unless user
68
69
return UserView.new(user)
0 commit comments