summaryrefslogtreecommitdiff
path: root/src/api/song.rs
diff options
context:
space:
mode:
authorniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2025-01-25 20:50:21 +0100
committerniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2025-01-25 20:50:21 +0100
commit57a2df34f4986f1f6062f22804021925afec0419 (patch)
treef72ba12f40d15248d25235ce711b0aec2a6137a9 /src/api/song.rs
parent8782579e326b55e182d5767a451b8864b3453cce (diff)
refactor database
Diffstat (limited to 'src/api/song.rs')
-rw-r--r--src/api/song.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/api/song.rs b/src/api/song.rs
index 3748210..e046d22 100644
--- a/src/api/song.rs
+++ b/src/api/song.rs
@@ -1,5 +1,6 @@
use crate::api::{get_response_from_query, Response};
-use crate::database::{Delete, Song, SongPost, SongPut};
+use crate::database::Delete;
+use crate::database::song::{Song, SongPost, SongPut};
use crate::extractors::auth_token::AuthenticationToken;
use crate::AppState;
use actix_web::{delete, get, post, put, web, HttpResponse};