diff options
author | Chocobozzz <me@florianbigard.com> | 2023-07-28 11:28:07 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-07-28 11:41:14 +0200 |
commit | f932957b2e33da0b6d9a29dd98281b28f220a77a (patch) | |
tree | 71ada3f7308e83730d607312385170dc489da422 /server/models/account | |
parent | 89aa3331106874266f6feeee7bff852da2c1727e (diff) | |
download | PeerTube-f932957b2e33da0b6d9a29dd98281b28f220a77a.tar.gz PeerTube-f932957b2e33da0b6d9a29dd98281b28f220a77a.tar.zst PeerTube-f932957b2e33da0b6d9a29dd98281b28f220a77a.zip |
Remove banner/avatar fields from channel/account
Deprecated since 4.2
Diffstat (limited to 'server/models/account')
-rw-r--r-- | server/models/account/account.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/server/models/account/account.ts b/server/models/account/account.ts index 396959352..8593f2f28 100644 --- a/server/models/account/account.ts +++ b/server/models/account/account.ts | |||
@@ -433,10 +433,7 @@ export class AccountModel extends Model<Partial<AttributesOnly<AccountModel>>> { | |||
433 | name: actor.name, | 433 | name: actor.name, |
434 | url: actor.url, | 434 | url: actor.url, |
435 | host: actor.host, | 435 | host: actor.host, |
436 | avatars: actor.avatars, | 436 | avatars: actor.avatars |
437 | |||
438 | // TODO: remove, deprecated in 4.2 | ||
439 | avatar: actor.avatar | ||
440 | } | 437 | } |
441 | } | 438 | } |
442 | 439 | ||