feat: get user table

This commit is contained in:
2025-11-09 23:12:51 -07:00
parent 5862378dc1
commit 3ca80e7650
5 changed files with 73 additions and 3 deletions

View File

@@ -18,6 +18,7 @@ func IsAdmin(pool *pgxpool.Pool) gin.HandlerFunc {
log.Println(conn_err)
ctx.AbortWithStatus(http.StatusInternalServerError)
}
defer conn.Release()
user_profile, _ := ctx.Get("user_profile")