mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-03 05:26:07 +00:00
Update User.ts method: avatarUrl -> avatarURL
This commit is contained in:
parent
b4d5c236d8
commit
49cadc14f8
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user