From 57a2df34f4986f1f6062f22804021925afec0419 Mon Sep 17 00:00:00 2001 From: niliara-edu Date: Sat, 25 Jan 2025 20:50:21 +0100 Subject: refactor database --- src/api/album.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/api/album.rs') diff --git a/src/api/album.rs b/src/api/album.rs index b395010..2c6dfbb 100644 --- a/src/api/album.rs +++ b/src/api/album.rs @@ -1,5 +1,6 @@ use crate::api::{get_response_from_query, Response}; -use crate::database::{Album, AlbumPost, AlbumPut, Delete}; +use crate::database::Delete; +use crate::database::album::{Album, AlbumPost, AlbumPut}; use crate::extractors::auth_token::AuthenticationToken; use crate::AppState; use actix_web::{delete, get, post, put, web, HttpResponse}; -- cgit v1.2.3