aboutsummaryrefslogtreecommitdiff
path: root/src/guff.cr
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-05-23 02:55:59 -0400
committerPaul Duncan <pabs@pablotron.org>2016-05-23 02:55:59 -0400
commitac4726fa61215ced497ea13befd01d2fb40226e5 (patch)
tree8e3931d014cf3ec4f5649bf542933012cb957eb4 /src/guff.cr
parent2bf51f22cae88119ef65b35de1f2865f3b91d500 (diff)
downloadguff-ac4726fa61215ced497ea13befd01d2fb40226e5.tar.bz2
guff-ac4726fa61215ced497ea13befd01d2fb40226e5.zip
don't return user_id from has_role
Diffstat (limited to 'src/guff.cr')
-rw-r--r--src/guff.cr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guff.cr b/src/guff.cr
index 22fd52c..82ab5a9 100644
--- a/src/guff.cr
+++ b/src/guff.cr
@@ -377,7 +377,7 @@ module Guff
",
has_role: "
- SELECT user_id
+ SELECT 1
FROM users