diff options
author | Galen Guyer <galen@galenguyer.com> | 2022-08-11 15:20:39 -0400 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2022-08-11 15:20:39 -0400 |
commit | 41d74d0c2284b14e7d5cacc522f3000b86176e66 (patch) | |
tree | d30f82a02583958c42df62fb74f1abb84c1314ba | |
parent | 8a4af84c69e90ec8410693072f90e44fb2ac5eb8 (diff) |
Stupid go not enforcing returns on errors smh
-rw-r--r-- | main.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -163,6 +163,7 @@ func main() { // If the user can't vote, just show them results if !canVote(claims.UserInfo.Groups) { c.Redirect(302, "/results/"+poll.Id) + return } if !poll.Open { |