fix: add x-panel-version header (#4855)

This commit is contained in:
Calum H.
2025-12-04 14:15:03 +00:00
committed by GitHub
parent c421249767
commit a558064f9d
5 changed files with 25 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
<script setup>
import { AuthFeature, TauriModrinthClient } from '@modrinth/api-client'
import { AuthFeature, PanelVersionFeature, TauriModrinthClient } from '@modrinth/api-client'
import {
ArrowBigUpDashIcon,
ChangeSkinIcon,
@@ -115,6 +115,7 @@ const tauriApiClient = new TauriModrinthClient({
new AuthFeature({
token: async () => (await getCreds()).session,
}),
new PanelVersionFeature(),
],
})
provideModrinthClient(tauriApiClient)