Remove lock, fix billing job

This commit is contained in:
Jai A
2025-04-03 16:14:27 -07:00
parent d0d0dcf09f
commit 69b70d70a8
2 changed files with 1 additions and 3 deletions

View File

@@ -2302,8 +2302,6 @@ pub async fn index_billing(
)
.await?;
let mut transaction = pool.begin().await?;
for mut charge in charges_to_do {
let product_price = if let Some(price) =
prices.iter().find(|x| x.id == charge.price_id)