Skip to content

Commit 2041154

Browse files
committed
readme: update one more example
1 parent c042410 commit 2041154

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ struct GetUser
6363
end
6464
6565
def call
66-
user = Onyx.query(User.where(id: params.path.id)).first? # This code is part of onyx/sql
66+
user = Onyx::SQL.query(User.where(id: params.path.id)).first? # This code is part of onyx/sql
6767
raise UserNotFound.new unless user
6868
6969
return UserView.new(user)

0 commit comments

Comments
 (0)