mirror of
https://github.com/Stremio/stremio-shell-ng.git
synced 2026-03-11 21:27:06 +00:00
chore: correctly use client
This commit is contained in:
parent
13db629a80
commit
bb0a81932a
1 changed files with 1 additions and 2 deletions
|
|
@ -29,8 +29,7 @@ impl DiscordRpc {
|
|||
return Ok(());
|
||||
}
|
||||
|
||||
let mut client = DiscordIpcClient::new(DISCORD_APP_ID)
|
||||
.map_err(|e| format!("Failed to create Discord client: {}", e))?;
|
||||
let mut client = DiscordIpcClient::new(DISCORD_APP_ID);
|
||||
|
||||
client
|
||||
.connect()
|
||||
|
|
|
|||
Loading…
Reference in a new issue