From 1e8328b23d9304584b774d7298e327c9e5c4b046 Mon Sep 17 00:00:00 2001 From: Daniel Voogsgerd Date: Tue, 16 May 2023 14:01:11 +0200 Subject: [PATCH] Add leading / to NotificationsHandler.lists() (#364) --- src/api/activity/notifications.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/activity/notifications.rs b/src/api/activity/notifications.rs index 270b6895..8777c746 100644 --- a/src/api/activity/notifications.rs +++ b/src/api/activity/notifications.rs @@ -249,7 +249,7 @@ impl<'octo> NotificationsHandler<'octo> { /// # } /// ``` pub fn list(&self) -> ListNotificationsBuilder<'octo> { - ListNotificationsBuilder::new(self.crab, "notifications".to_string()) + ListNotificationsBuilder::new(self.crab, "/notifications".to_string()) } }