fetch user profile 👍

This commit is contained in:
2025-12-05 22:26:28 +08:00
parent f522148489
commit 97d4bb279c
4 changed files with 25 additions and 18 deletions

View File

@@ -90,12 +90,6 @@ pub fn init_fdoll_state() {
async_runtime::spawn(async move {
crate::services::ws::init_ws_client().await;
});
// TODO: seems like even under `has_auth` token may not be present when init app data
async_runtime::spawn(async move {
info!("Initializing user data");
init_app_data().await;
});
}
info!("Initialized FDOLL state (WebSocket client & user data initializing asynchronously)");