Update User.ts method: avatarUrl -> avatarURL

This commit is contained in:
Nicolás Serna 2022-06-28 01:31:00 -03:00
parent b4d5c236d8
commit 49cadc14f8

View File

@ -42,7 +42,7 @@ export class User implements Model {
} }
/** gets the user's avatar */ /** gets the user's avatar */
avatarUrl(options: { format?: ImageFormat; size?: ImageSize } = { size: 128 }) { avatarURL(options: { format?: ImageFormat; size?: ImageSize } = { size: 128 }) {
let url: string; let url: string;
if (!this.avatarHash) { if (!this.avatarHash) {