Skip to content

Commit 1fee633

Browse files
authored
fix(CDNRoutes): correct guildTagBadge route (#1291)
1 parent 3245f7d commit 1fee633

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

deno/rest/v10/mod.ts

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deno/rest/v9/mod.ts

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rest/v10/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,12 +1406,12 @@ export const CDNRoutes = {
14061406

14071407
/**
14081408
* Route for:
1409-
* - GET `/clan-badges/{guild.id}/{badge}.{png|jpeg|webp}`
1409+
* - GET `/guild-tag-badges/{guild.id}/{badge}.{png|jpeg|webp}`
14101410
*
14111411
* This route supports the extensions: PNG, JPEG, WebP
14121412
*/
14131413
guildTagBadge<Format extends GuildTagBadgeFormat>(guildId: Snowflake, guildTagBadge: string, format: Format) {
1414-
return `/clan-badges/${guildId}/${guildTagBadge}.${format}` as const;
1414+
return `/guild-tag-badges/${guildId}/${guildTagBadge}.${format}` as const;
14151415
},
14161416
};
14171417

rest/v9/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1415,12 +1415,12 @@ export const CDNRoutes = {
14151415

14161416
/**
14171417
* Route for:
1418-
* - GET `/clan-badges/{guild.id}/{badge}.{png|jpeg|webp}`
1418+
* - GET `/guild-tag-badges/{guild.id}/{badge}.{png|jpeg|webp}`
14191419
*
14201420
* This route supports the extensions: PNG, JPEG, WebP
14211421
*/
14221422
guildTagBadge<Format extends GuildTagBadgeFormat>(guildId: Snowflake, guildTagBadge: string, format: Format) {
1423-
return `/clan-badges/${guildId}/${guildTagBadge}.${format}` as const;
1423+
return `/guild-tag-badges/${guildId}/${guildTagBadge}.${format}` as const;
14241424
},
14251425
};
14261426

0 commit comments

Comments
 (0)