You've already forked AstralRinth
forked from didirus/AstralRinth
Task to retroactively update Mural statuses (#4769)
* Task to retroactively update Mural statuses * cargo sqlx prepare * wip: add tests * Prepare * Fix up test * start on muralpay mock * Move mocking to muralpay crate
This commit is contained in:
@@ -155,6 +155,8 @@ async fn main() -> std::io::Result<()> {
|
||||
|
||||
let gotenberg_client = GotenbergClient::from_env(redis_pool.clone())
|
||||
.expect("Failed to create Gotenberg client");
|
||||
let muralpay = labrinth::queue::payouts::create_muralpay_client()
|
||||
.expect("Failed to create MuralPay client");
|
||||
|
||||
if let Some(task) = args.run_background_task {
|
||||
info!("Running task {task:?} and exiting");
|
||||
@@ -166,6 +168,7 @@ async fn main() -> std::io::Result<()> {
|
||||
stripe_client,
|
||||
anrok_client.clone(),
|
||||
email_queue,
|
||||
muralpay,
|
||||
)
|
||||
.await;
|
||||
return Ok(());
|
||||
|
||||
Reference in New Issue
Block a user