fix: set thumbnail in

This commit is contained in:
P. Reis 2024-11-01 23:19:17 -03:00
parent 339b13c084
commit f0be2a1c02

View file

@ -327,7 +327,7 @@ export const updateInstanceController: AppController = async (c) => {
meta.name = title ?? meta.name; meta.name = title ?? meta.name;
meta.about = description ?? meta.about; meta.about = description ?? meta.about;
meta.screenshots = screenshots ?? meta.screenshots; meta.screenshots = screenshots ?? meta.screenshots;
meta.thumbnail = thumbnail ?? meta.thumbnail; meta.picture = thumbnail?.url ?? meta.picture;
return { return {
kind: 0, kind: 0,