diff --git a/src/interfaces/api/person.ts b/src/interfaces/api/person.ts index 64c42d4..1e79cec 100644 --- a/src/interfaces/api/person.ts +++ b/src/interfaces/api/person.ts @@ -46,7 +46,7 @@ export interface SaveUserSettings { lang: string; avatar?: string; banner?: string; - preferred_username?: string; // The display name + display_name?: string; email?: string; bio?: string; matrix_user_id?: string; diff --git a/src/interfaces/source.ts b/src/interfaces/source.ts index fac4070..2bb3d9a 100644 --- a/src/interfaces/source.ts +++ b/src/interfaces/source.ts @@ -14,7 +14,7 @@ export interface LocalUserSettings { export interface PersonSafe { id: number; name: string; - preferred_username?: string; + display_name?: string; avatar?: string; banned: boolean; published: string;