Refactoring (#31)

* Refactoring code

* Code formatting

* More changes

* Moved to icarus-models::user

* Some refactoring

* Updated icarus-models

* Removing constants

* Replaced with icarus-models constants

* Formatting

* Switched to constants from icarus-models:

* Replaced Token with AccessToken from icarus-models

* Updated icarus-models

* Formatting

* Removing code
This commit was merged in pull request #31.
This commit is contained in:
KD
2025-03-13 21:40:22 -04:00
committed by GitHub
parent a372bfcc05
commit c575d2e523
18 changed files with 105 additions and 169 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ impl Default for Delete {
impl Delete {
pub async fn delete_song(
&mut self,
token: &models::token::Token,
token: &icarus_models::token::AccessToken,
song: &models::song::Song,
) -> Result<models::song::Song, std::io::Error> {
self.api.endpoint = "song/data/delete".to_owned();