diff --git a/packages/backend/src/server/api/endpoints/patrons.ts b/packages/backend/src/server/api/endpoints/patrons.ts index a0a7598123..944858694a 100644 --- a/packages/backend/src/server/api/endpoints/patrons.ts +++ b/packages/backend/src/server/api/endpoints/patrons.ts @@ -20,8 +20,7 @@ export default define(meta, paramDef, async () => { const cachedPatrons = await redisClient.get("patrons"); if (cachedPatrons) { patrons = JSON.parse(cachedPatrons); - } - else { + } else { patrons = await fetch( "https://codeberg.org/calckey/calckey/raw/branch/develop/patrons.json", ).then((response) => response.json()); diff --git a/packages/backend/src/server/api/endpoints/users/followers.ts b/packages/backend/src/server/api/endpoints/users/followers.ts index 6559a4b41a..855ab35736 100644 --- a/packages/backend/src/server/api/endpoints/users/followers.ts +++ b/packages/backend/src/server/api/endpoints/users/followers.ts @@ -42,7 +42,7 @@ export const meta = { message: "No followers found.", code: "NULL_FOLLOWERS", id: "174a6507-a6c2-4925-8e5d-92fd08aedc9e", - } + }, }, } as const; diff --git a/packages/client/src/components/MkDialog.vue b/packages/client/src/components/MkDialog.vue index fca265c025..249bc18c5c 100644 --- a/packages/client/src/components/MkDialog.vue +++ b/packages/client/src/components/MkDialog.vue @@ -59,10 +59,16 @@ v-if="input && input.type !== 'paragraph'" v-model="inputValue" autofocus - :type="input.type == 'searchAdvanced' ? 'search' : input.type || 'text'" + :type=" + input.type == 'searchAdvanced' + ? 'search' + : input.type || 'text' + " :placeholder="input.placeholder || undefined" @keydown="onInputKeydown" - :style="{ width: input.type === 'searchAdvanced' ? '300px' : null }" + :style="{ + width: input.type === 'searchAdvanced' ? '300px' : null, + }" >