mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2024-12-22 06:29:28 -07:00
bump discord API version to v10
This commit is contained in:
parent
689117ac98
commit
9b1a5d4d26
1 changed files with 2 additions and 2 deletions
|
@ -51,11 +51,11 @@ export function processURI (uri) {
|
|||
},
|
||||
proof: {
|
||||
request: {
|
||||
uri: `https://discord.com/api/v9/invites/${match[1]}`,
|
||||
uri: `https://discord.com/api/v10/invites/${match[1]}`,
|
||||
fetcher: E.Fetcher.HTTP,
|
||||
accessRestriction: E.ProofAccessRestriction.NOCORS,
|
||||
data: {
|
||||
url: `https://discord.com/api/v9/invites/${match[1]}`,
|
||||
url: `https://discord.com/api/v10/invites/${match[1]}`,
|
||||
format: E.ProofFormat.JSON
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue