Skip to content

Commit

Permalink
fix: use put instead of get for set_thread_subscription (#661)
Browse files Browse the repository at this point in the history
  • Loading branch information
ymgyt authored Jul 29, 2024
1 parent 60a89c6 commit 5bdbbc1
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 @@ -186,7 +186,7 @@ impl<'octo> NotificationsHandler<'octo> {
let route = format!("/notifications/threads/{thread}/subscription");
let body = Inner { ignored };

self.crab.get(route, Some(&body)).await
self.crab.put(route, Some(&body)).await
}

/// Mutes the whole thread conversation until you comment or get mentioned.
Expand Down

0 comments on commit 5bdbbc1

Please sign in to comment.