Spurious unwrap, removed

This commit is contained in:
2023-04-02 13:26:38 +02:00
parent eab9c83067
commit 46d3b28aec

View File

@@ -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> {