aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/actor-image.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/actor-image.ts')
-rw-r--r--server/lib/actor-image.ts3
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)