diff --git a/api/nginx/nginx.conf.template b/api/nginx/nginx.conf.template index 82a799e1fc3..74c67ae509d 100644 --- a/api/nginx/nginx.conf.template +++ b/api/nginx/nginx.conf.template @@ -22,9 +22,7 @@ log_format json_combined escape=json '"http_user_agent":"$http_user_agent",' '"http_x_forwarded_for":"$http_x_forwarded_for",' '"http_authorization":"$http_authorization",' - '"request_id":"$sent_http_x_request_id",' - '"client_application_name":"$sent_http_x_ov_client_application_name",' - '"client_application_verified":"$sent_http_x_ov_client_application_verified"' + '"request_id":"$sent_http_x_request_id"' '}'; access_log /var/log/nginx/access.log json_combined; diff --git a/frontend/src/stores/media/related-media.ts b/frontend/src/stores/media/related-media.ts index 25abad58448..044466d127b 100644 --- a/frontend/src/stores/media/related-media.ts +++ b/frontend/src/stores/media/related-media.ts @@ -5,7 +5,7 @@ import { defineStore } from "pinia" import type { FetchingError, FetchState } from "~/types/fetch-state" import type { Media } from "~/types/media" import type { SupportedMediaType } from "~/constants/media" -import { createApiClient } from "~/data/api-service" +import { useApiClient } from "~/composables/use-api-client" interface RelatedMediaState { mainMediaId: null | string @@ -52,7 +52,7 @@ export const useRelatedMediaStore = defineStore("related-media", { this.mainMediaId = id this._startFetching() this.media = [] - const client = createApiClient() + const client = useApiClient() try { this.media = await client.getRelatedMedia(mediaType, id)