diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-07 10:36:13 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-04-08 10:07:53 +0200 |
commit | 213e30ef90806369529684ac9c247d73b8dc7928 (patch) | |
tree | 7f834f2485a074b1d3052745fa5236d34c0f26db /server/lib/actor-image.ts | |
parent | 2cb03dc1f4e01ba491c36caff30c33fe9c5bad89 (diff) | |
download | PeerTube-213e30ef90806369529684ac9c247d73b8dc7928.tar.gz PeerTube-213e30ef90806369529684ac9c247d73b8dc7928.tar.zst PeerTube-213e30ef90806369529684ac9c247d73b8dc7928.zip |
Add banner tests
Diffstat (limited to 'server/lib/actor-image.ts')
-rw-r--r-- | server/lib/actor-image.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/lib/actor-image.ts b/server/lib/actor-image.ts index 59afa93bd..fa1a2a18a 100644 --- a/server/lib/actor-image.ts +++ b/server/lib/actor-image.ts | |||
@@ -34,11 +34,10 @@ async function updateLocalActorImageFile ( | |||
34 | const actorImageInfo = { | 34 | const actorImageInfo = { |
35 | name: imageName, | 35 | name: imageName, |
36 | fileUrl: null, | 36 | fileUrl: null, |
37 | type, | ||
38 | onDisk: true | 37 | onDisk: true |
39 | } | 38 | } |
40 | 39 | ||
41 | const updatedActor = await updateActorImageInstance(accountOrChannel.Actor, actorImageInfo, t) | 40 | const updatedActor = await updateActorImageInstance(accountOrChannel.Actor, type, actorImageInfo, t) |
42 | await updatedActor.save({ transaction: t }) | 41 | await updatedActor.save({ transaction: t }) |
43 | 42 | ||
44 | await sendUpdateActor(accountOrChannel, t) | 43 | await sendUpdateActor(accountOrChannel, t) |