commit 35dfad9c1008cfd6dc348b9cdb7f1069d2128fe3
parent fad6ade907b39f1706fd787b23da8e4e649b200b
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Sat, 30 Dec 2023 01:32:32 -0500
fix lightweight user
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pkg/database/tableUsers.go b/pkg/database/tableUsers.go
@@ -424,7 +424,8 @@ display_hellbanned,
syntax_highlight_code,
date_format,
confirm_external_links,
-can_see_hellbanned
+can_see_hellbanned,
+role
`).First(&out1, "id = ?", userID).Error
return &out1, err
}