Initial Commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
use sqlx::SqlitePool;
|
||||
|
||||
use crate::catalog::refresh_catalog;
|
||||
|
||||
pub async fn run_catalog_refresh(pool: SqlitePool) {
|
||||
if let Err(e) = refresh_catalog(&pool).await {
|
||||
tracing::error!("Catalog refresh failed: {}", e);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user