From f0be2a1c0227b177c356b476dfaf0fa23703426c Mon Sep 17 00:00:00 2001 From: "P. Reis" Date: Fri, 1 Nov 2024 23:19:17 -0300 Subject: [PATCH] fix: set thumbnail in --- src/controllers/api/ditto.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/api/ditto.ts b/src/controllers/api/ditto.ts index 6682522a..2ffce057 100644 --- a/src/controllers/api/ditto.ts +++ b/src/controllers/api/ditto.ts @@ -327,7 +327,7 @@ export const updateInstanceController: AppController = async (c) => { meta.name = title ?? meta.name; meta.about = description ?? meta.about; meta.screenshots = screenshots ?? meta.screenshots; - meta.thumbnail = thumbnail ?? meta.thumbnail; + meta.picture = thumbnail?.url ?? meta.picture; return { kind: 0,