From 50ce0e2b5485966c90b1253222d5606895a4865d Mon Sep 17 00:00:00 2001 From: Alex Ling Date: Thu, 12 Mar 2020 23:49:40 +0000 Subject: [PATCH] Fix typo --- src/util.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.cr b/src/util.cr index ede75a8..bafcdb8 100644 --- a/src/util.cr +++ b/src/util.cr @@ -9,7 +9,7 @@ macro send_img(env, img) end macro get_username(env) - # if the request gets here, its has gone through the auth handler, and + # if the request gets here, it has gone through the auth handler, and # we can be sure that a valid token exists, so we can use not_nil! here cookie = {{env}}.request.cookies.find { |c| c.name == "token" }.not_nil! (@context.storage.verify_token cookie.value).not_nil!