diff --git a/src/routes/v2/users.rs b/src/routes/v2/users.rs index 6adfe6a8..a71d6ed8 100644 --- a/src/routes/v2/users.rs +++ b/src/routes/v2/users.rs @@ -869,9 +869,8 @@ pub async fn user_payouts_request( ) .execute(&mut *transaction) .await?; - User::clear_caches(&[(id, None)], &redis).await?; - transaction.commit().await?; + User::clear_caches(&[(id, None)], &redis).await?; Ok(HttpResponse::NoContent().body("")) } else {