refactor: rename new.sql to new_record.sql

This commit is contained in:
Zynh Ludwig 2024-11-19 20:41:53 -08:00
parent e44d80ee4c
commit 1e3e53aa6d
2 changed files with 1 additions and 1 deletions

View file

@ -86,7 +86,7 @@ async fn upload_to_zip(
let mut conn = state.pool.acquire().await.unwrap(); let mut conn = state.pool.acquire().await.unwrap();
let cache_name = cache_name.clone(); let cache_name = cache_name.clone();
sqlx::query_file!("queries/records/new.sql", cache_name, 5) sqlx::query_file!("queries/records/new_record.sql", cache_name, 5)
.execute(&mut *conn) .execute(&mut *conn)
.await .await
.map_err(|err| (StatusCode::INTERNAL_SERVER_ERROR, err.to_string()))?; .map_err(|err| (StatusCode::INTERNAL_SERVER_ERROR, err.to_string()))?;