diff options
author | Chocobozzz <me@florianbigard.com> | 2023-03-10 12:01:21 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-03-10 15:45:52 +0100 |
commit | 3b504f6ed4e890bebb46d0481aba15b43050323a (patch) | |
tree | bbe4c1bc529fec28e0b46263ec92f7c2260ba65a /server/models/account/account.ts | |
parent | 4899138ec5995075c3681ccbd9f6b163fb915991 (diff) | |
download | PeerTube-3b504f6ed4e890bebb46d0481aba15b43050323a.tar.gz PeerTube-3b504f6ed4e890bebb46d0481aba15b43050323a.tar.zst PeerTube-3b504f6ed4e890bebb46d0481aba15b43050323a.zip |
Add ability for plugins to alter video jsonld
Diffstat (limited to 'server/models/account/account.ts')
-rw-r--r-- | server/models/account/account.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/account/account.ts b/server/models/account/account.ts index dc989417b..5bf29f45a 100644 --- a/server/models/account/account.ts +++ b/server/models/account/account.ts | |||
@@ -447,8 +447,8 @@ export class AccountModel extends Model<Partial<AttributesOnly<AccountModel>>> { | |||
447 | } | 447 | } |
448 | } | 448 | } |
449 | 449 | ||
450 | toActivityPubObject (this: MAccountAP) { | 450 | async toActivityPubObject (this: MAccountAP) { |
451 | const obj = this.Actor.toActivityPubObject(this.name) | 451 | const obj = await this.Actor.toActivityPubObject(this.name) |
452 | 452 | ||
453 | return Object.assign(obj, { | 453 | return Object.assign(obj, { |
454 | summary: this.description | 454 | summary: this.description |