diff options
author | alyx <alyx@aleteoryx.me> | 2024-04-08 11:59:29 -0400 |
---|---|---|
committer | alyx <alyx@aleteoryx.me> | 2024-04-08 11:59:29 -0400 |
commit | f548d2d297bbf452aa206042f2029d7137df0477 (patch) | |
tree | bf126a6c4e7d533631c3bc76f20b627945889611 /src/cache | |
parent | 95fe09db7d64e1ca746ccc5865b8ff577c386aaa (diff) | |
download | lfm_embed-f548d2d297bbf452aa206042f2029d7137df0477.tar.gz lfm_embed-f548d2d297bbf452aa206042f2029d7137df0477.tar.bz2 lfm_embed-f548d2d297bbf452aa206042f2029d7137df0477.zip |
Various fixesrelease-0.2.0
Diffstat (limited to 'src/cache')
-rw-r--r-- | src/cache/user.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache/user.rs b/src/cache/user.rs index 8d6bf64..6d2d414 100644 --- a/src/cache/user.rs +++ b/src/cache/user.rs @@ -54,7 +54,7 @@ fn user_getter(username: &String) -> UserFuture { if trackreq.status() == StatusCode::NOT_FOUND { return Err((StatusCode::NOT_FOUND, "Track does not exist!")); } let trackstr = trackreq.text().await.unwrap(); - log::trace!("Got user.getTrackInfo JSON for `{username}`: {trackstr}"); + log::trace!("Got track.getInfo JSON for `{username}`: {trackstr}"); let trackinfo = serde_json::from_str::<GetTrackInfo>(&trackstr) .map_err(|e| {log::error!("Couldn't parse track.getInfo for `{}` by `{}` on behalf of {username}: {e}", trackstub.name, trackstub.artist.name); (StatusCode::INTERNAL_SERVER_ERROR, "Couldn't parse track.getInfo!")})?.track; |