1
0
mirror of https://github.com/jiriks74/presence.nvim synced 2024-11-23 12:27:50 +01:00

fix: Authorization Failure (#60)
All checks were successful
Luacheck / Luacheck (push) Successful in 9m42s
StyLua / StyLua (push) Successful in 20m28s

Fixes: jiriks74/presence.nvim#59
This commit is contained in:
RootOperator 2024-06-25 22:29:48 +02:00 committed by GitHub
parent 883347db4e
commit 2f77b19e9d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -142,6 +142,7 @@ function Discord:authorize(on_authorize)
local payload = { local payload = {
client_id = self.client_id, client_id = self.client_id,
v = 1, v = 1,
nonce = "initial-ready",
} }
self:call(self.opcodes.auth, payload, on_authorize) self:call(self.opcodes.auth, payload, on_authorize)