Skip to content

Commit 05f5d2b

Browse files
committed
feat(structures): fix wrong CDN route
1 parent 5debdbe commit 05f5d2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/structures/src/application/Application.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class Application<Omitted extends keyof APIApplication | '' = ''> extends
5858
*/
5959
public iconURL(format: ApplicationIconFormat = ImageFormat.WebP) {
6060
return isIdSet(this[kData].id) && isFieldSet(this[kData], 'icon', 'string')
61-
? `${RouteBases.cdn}${CDNRoutes.applicationCover(this[kData].id.toString(), this[kData].icon, format)}`
61+
? `${RouteBases.cdn}${CDNRoutes.applicationIcon(this[kData].id.toString(), this[kData].icon, format)}`
6262
: null;
6363
}
6464

0 commit comments

Comments
 (0)