Skip to content

Commit

Permalink
Fix type sig
Browse files Browse the repository at this point in the history
Co-authored-by: Niklas van Schrick <[email protected]>
  • Loading branch information
Knerio and Taucher2003 authored Aug 29, 2024
1 parent d15630e commit 629757f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sig/code0/identities/provider/discord.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module Code0
class Discord < BaseOauth
def token_url: () -> "https://discord.com/api/oauth2/token"

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

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

Expand Down

0 comments on commit 629757f

Please sign in to comment.