Language: Go
Label: safe
CWE: NVD-CWE-noinfo \u2014 

Code:
func (uc *UserAdminController) UpdateUserStatus(ctx *gin.Context) {
	req := &schema.UpdateUserStatusReq{}
	if handler.BindAndCheck(ctx, req) {
		return
	}

	req.LoginUserID = middleware.GetLoginUserIDFromContext(ctx)

	err := uc.userService.UpdateUserStatus(ctx, req)
	handler.HandleResponse(ctx, err, nil)
}