tsk-197: Rename download_flac() function (#220)

* tsk-197: Renamed function

* tsk-197: Version bump

* tsk-197: icarus_models version bump
This commit was merged in pull request #220.
This commit is contained in:
KD
2025-10-25 21:34:33 -04:00
committed by GitHub
parent 02d9ef013e
commit 003e5b77c1
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -352,7 +352,7 @@ pub mod endpoint {
(status = 400, description = "Linkage failed", body = Vec<u8>)
)
)]
pub async fn download_flac(
pub async fn download_queued_song(
axum::Extension(pool): axum::Extension<sqlx::PgPool>,
axum::extract::Path(id): axum::extract::Path<uuid::Uuid>,
) -> (StatusCode, axum::response::Response) {
+2 -2
View File
@@ -115,7 +115,7 @@ pub mod init {
#[derive(utoipa::OpenApi)]
#[openapi(
paths(song_endpoints::queue_song, song_endpoints::link_user_id, song_endpoints::fetch_queue_song, song_endpoints::download_flac,
paths(song_endpoints::queue_song, song_endpoints::link_user_id, song_endpoints::fetch_queue_song, song_endpoints::download_queued_song,
song_endpoints::update_song_queue_status, song_endpoints::update_song_queue, song_endpoints::create_metadata, song_endpoints::wipe_data_from_song_queue, song_endpoints::get_songs, song_endpoints::get_all_songs, song_endpoints::stream_song, song_endpoints::download_song,
song_endpoints::delete_song, coverart_queue_endpoints::queue, coverart_queue_endpoints::link, coverart_queue_endpoints::fetch_coverart_no_data,
coverart_queue_endpoints::fetch_coverart_with_data, coverart_endpoints::create_coverart, coverart_queue_endpoints::wipe_data_from_coverart_queue,
@@ -157,7 +157,7 @@ pub mod init {
)
.route(
crate::callers::endpoints::QUEUESONGDATA,
get(crate::callers::song::endpoint::download_flac).route_layer(
get(crate::callers::song::endpoint::download_queued_song).route_layer(
axum::middleware::from_fn(crate::auth::auth::<axum::body::Body>),
),
)