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