From 9b1a5d4d26a0cb651f19b5c1dad2629513bf8d69 Mon Sep 17 00:00:00 2001 From: Bram Hagens Date: Thu, 8 Feb 2024 10:11:52 +0100 Subject: [PATCH] bump discord API version to v10 --- src/serviceProviders/discord.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/serviceProviders/discord.js b/src/serviceProviders/discord.js index c83ae04..b995af5 100644 --- a/src/serviceProviders/discord.js +++ b/src/serviceProviders/discord.js @@ -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 } },