diff options
author | Yuta Yamaguchi <yamaguchi7073xtt@gmail.com> | 2024-07-29 17:38:30 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-29 10:38:30 +0200 |
commit | 5bdbbc16c83baae11c09ffd1ffea96e3a9842b3c (patch) | |
tree | 55b2bed4eff3f6e905d890e161c357a7d7804308 | |
parent | 60a89c6491851b90890e2959f3aa46426ca59b41 (diff) |
fix: use put instead of get for set_thread_subscription (#661)
-rw-r--r-- | src/api/activity/notifications.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/activity/notifications.rs b/src/api/activity/notifications.rs index 8777c74..a698529 100644 --- a/src/api/activity/notifications.rs +++ b/src/api/activity/notifications.rs @@ -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. |