From 5d320f18994d39cd7cc0c429bfbbd97f4f99d268 Mon Sep 17 00:00:00 2001 From: alemi Date: Thu, 15 Aug 2024 04:51:29 +0200 Subject: [PATCH] fix(web): ughhh userid is already an url --- web/src/app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/app.rs b/web/src/app.rs index 4c371f7..d97dfc1 100644 --- a/web/src/app.rs +++ b/web/src/app.rs @@ -93,7 +93,7 @@ pub fn App() -> impl IntoView { let (notifications, set_notifications) = create_signal(0); let fetch_notifications = move || spawn_local(async move { let actor_id = userid.get().unwrap_or_default(); - let notif_url = format!("{URL_BASE}/actors/{actor_id}/notifications"); + let notif_url = format!("{actor_id}/notifications"); match Http::fetch::(¬if_url, auth).await { Err(e) => tracing::error!("failed fetching notifications: {e}"), Ok(doc) => if let Ok(count) = doc.total_items() {