const actorImageInfo = {
name: imageName,
fileUrl: null,
- type,
+ height: imageSize.height,
+ width: imageSize.width,
onDisk: true
}
- const updatedActor = await updateActorImageInstance(accountOrChannel.Actor, actorImageInfo, t)
+ const updatedActor = await updateActorImageInstance(accountOrChannel.Actor, type, actorImageInfo, t)
await updatedActor.save({ transaction: t })
await sendUpdateActor(accountOrChannel, t)