Skip to content

Commit 925ebd5

Browse files
committed
fix: attempt fix for prod issue with app icons
1 parent 046ef3c commit 925ebd5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/backend/src/services/AppIconService.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,14 @@ class AppIconService extends BaseService {
108108
.png()
109109
.toBuffer();
110110

111+
const sys_actor = await svc_su.get_system_actor();
111112
const hl_write = new HLWrite();
112113
await hl_write.run({
113114
destination_or_parent: dir_app_icons,
114115
specified_name: filename,
115116
overwrite: true,
116-
user: await svc_su.get_system_actor(),
117+
actor: sys_actor,
118+
user: sys_actor.type.user,
117119
no_thumbnail: true,
118120
file: {
119121
size: output.length,

0 commit comments

Comments
 (0)