Remove channel_id argument from modify. WHY WAS IT THERE TO BEGIN WITH LOL
This commit is contained in:
parent
33d5675cc4
commit
f5d74c57a4
|
@ -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!(
|
||||
|
|
Loading…
Reference in New Issue