fix: concurrency
This commit is contained in:
@@ -181,6 +181,8 @@ func GetCurrentAuthenticatedUser(pool *pgxpool.Pool) gin.HandlerFunc {
|
||||
|
||||
user_profile, _ := ctx.Get("user_profile")
|
||||
|
||||
log.Printf("%s", user_profile.(dto.UserProfileResponse).Sub)
|
||||
|
||||
sub_id := user_profile.(dto.UserProfileResponse).Sub
|
||||
|
||||
var user dto.UserResponse
|
||||
|
||||
Reference in New Issue
Block a user