Remove backward compatibility (user.Account.name is always provided).

This commit is contained in:
John Livingston
2021-06-02 13:14:03 +02:00
parent d2df17c7b9
commit 6f57931a9d
2 changed files with 4 additions and 45 deletions

View File

@ -91,9 +91,8 @@ interface MUserDefault { // FIXME: this interface is not complete
email: string
blocked: boolean
role: UserRole
Account?: {
// Account.name comes in Peertube 3.2.0
name?: string
Account?: { // FIXME: can this be undefined?
name: string
}
}