feat: frontend
This commit is contained in:
@@ -17,6 +17,7 @@ func IsAdmin(pool *pgxpool.Pool) gin.HandlerFunc {
|
||||
if conn_err != nil {
|
||||
log.Println(conn_err)
|
||||
ctx.AbortWithStatus(http.StatusInternalServerError)
|
||||
return
|
||||
}
|
||||
defer conn.Release()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user