Skip to content

Commit

Permalink
πŸ› Fix logo resetting
Browse files Browse the repository at this point in the history
  • Loading branch information
coyotte508 committed Jun 15, 2023
1 parent ea94d43 commit ea42f0f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/routes/admin/picture/[id]/+page.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ export const actions: Actions = {
data: picture._id,
updatedAt: new Date()
}
},
{
upsert: true
}
);
runtimeConfig.logoPictureId = picture._id;
Expand Down

0 comments on commit ea42f0f

Please sign in to comment.