diff --git a/src/config/imprint.config.ts b/src/config/imprint.config.ts index ff46444..6591373 100644 --- a/src/config/imprint.config.ts +++ b/src/config/imprint.config.ts @@ -1,6 +1,6 @@ import { createUrl, createUrlSearchParams } from "@acdh-oeaw/lib"; -import { type Locale } from "@/config/i18n.config"; +import { type Locale } from "@/config/i18n.config"; export function createImprintUrl(locale: Locale, redmineId: string): URL { return createUrl({ diff --git a/src/plugins/query-client.ts b/src/plugins/query-client.ts index 89d3e14..36d4782 100644 --- a/src/plugins/query-client.ts +++ b/src/plugins/query-client.ts @@ -28,7 +28,7 @@ export default defineNuxtPlugin((nuxt) => { error instanceof Response ? // @ts-expect-error Set by api client. - (error.error?.title as string | undefined) ?? error.statusText + (error.error?.title as string | undefined) ?? error.statusText : error.message; if (process.client) {