Fix typo in README.md
Some checks failed
Ruby / test (push) Has been cancelled
Ruby / rubocop (push) Has been cancelled

This commit is contained in:
Tim Kächele 2021-06-07 12:10:59 +02:00 committed by GitHub
parent fdefcf76ca
commit 0c51142ec1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ class UserBindingResolver < LiquidDynamicContext::BindingResolver
# In this method we do the actual work of resolving the bindings to
# their respective values
def resolve(models, context)
user = User.find(model[:current_user_id])
user = User.find(models[:current_user_id])
context.email = user.email
context.username = user.username