Remove backward compatibility (user.Account.name is always provided).
This commit is contained in:
5
server/@types/peertube.d.ts
vendored
5
server/@types/peertube.d.ts
vendored
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user