Skip to content

Commit

Permalink
Add leading / to NotificationsHandler.lists() (#364)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielVoogsgerd authored May 16, 2023
1 parent 5fc5756 commit 1e8328b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/activity/notifications.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
}

Expand Down

0 comments on commit 1e8328b

Please sign in to comment.