Remove channel_id argument from modify. WHY WAS IT THERE TO BEGIN WITH LOL

This commit is contained in:
bitfl0wer 2023-08-13 15:54:25 +02:00
parent 33d5675cc4
commit f5d74c57a4
No known key found for this signature in database
GPG Key ID: 0ACD574FCF5226CF
1 changed files with 1 additions and 1 deletions

View File

@ -64,10 +64,10 @@ impl Channel {
pub async fn modify(
&self,
modify_data: ChannelModifySchema,
channel_id: Snowflake,
user: &mut UserMeta,
) -> ChorusResult<Channel> {
// FIXME: Do not return a Channel.
let channel_id = self.id;
let chorus_request = ChorusRequest {
request: Client::new()
.patch(format!(