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(
|
pub async fn modify(
|
||||||
&self,
|
&self,
|
||||||
modify_data: ChannelModifySchema,
|
modify_data: ChannelModifySchema,
|
||||||
channel_id: Snowflake,
|
|
||||||
user: &mut UserMeta,
|
user: &mut UserMeta,
|
||||||
) -> ChorusResult<Channel> {
|
) -> ChorusResult<Channel> {
|
||||||
// FIXME: Do not return a Channel.
|
// FIXME: Do not return a Channel.
|
||||||
|
let channel_id = self.id;
|
||||||
let chorus_request = ChorusRequest {
|
let chorus_request = ChorusRequest {
|
||||||
request: Client::new()
|
request: Client::new()
|
||||||
.patch(format!(
|
.patch(format!(
|
||||||
|
|
Loading…
Reference in New Issue