Skip to content

Commit 629757f

Browse files
KnerioTaucher2003
andauthored
Fix type sig
Co-authored-by: Niklas van Schrick <mc.taucher2003@gmail.com>
1 parent d15630e commit 629757f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sig/code0/identities/provider/discord.rbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module Code0
44
class Discord < BaseOauth
55
def token_url: () -> "https://discord.com/api/oauth2/token"
66

7-
def token_payload: (untyped code) -> { code: String, grant_type: "authorization_code", redirect_uri: String, client_id: String, client_secret: String }
7+
def token_payload: (code: String) -> { code: String, grant_type: "authorization_code", redirect_uri: String, client_id: String, client_secret: String }
88

99
def user_details_url: () -> "https://discord.com/api/users/@me"
1010

0 commit comments

Comments
 (0)