Spurious unwrap, removed

This commit is contained in:
Gender Shrapnel 2023-04-02 13:26:38 +02:00
parent eab9c83067
commit 46d3b28aec
Signed by: modzero
GPG Key ID: 4E11A06C6D1E5213

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