Spurious unwrap, removed
This commit is contained in:
parent
eab9c83067
commit
46d3b28aec
@ -15,9 +15,7 @@ fn client_credentials_grant(authorization: String) -> anyhow::Result<ClientCrede
|
|||||||
.send_form(&[
|
.send_form(&[
|
||||||
("grant_type", "client_credentials"),
|
("grant_type", "client_credentials"),
|
||||||
("scope", "applications.commands.update"),
|
("scope", "applications.commands.update"),
|
||||||
])
|
])?.into_json()?)
|
||||||
.unwrap()
|
|
||||||
.into_json()?)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn discord_client(authorization: String) -> anyhow::Result<Client> {
|
pub fn discord_client(authorization: String) -> anyhow::Result<Client> {
|
||||||
|
Reference in New Issue
Block a user