diff options
| author | AAGaming <aagaming@riseup.net> | 2026-10-17 20:03:22 -0400 |
|---|---|---|
| committer | AAGaming <aagaming@riseup.net> | 2026-10-17 20:03:22 -0400 |
| commit | f825ffa3c031626036cafc61e3ed52c37b086542 (patch) | |
| tree | 42378128e5b994f8f3e2da4a57417061d0e8851a /frontend/src | |
| parent | 5c79d28e88003fc8e12e1ee3690d6447623e0f74 (diff) | |
| download | decky-loader-f825ffa3c031626036cafc61e3ed52c37b086542.tar.gz decky-loader-f825ffa3c031626036cafc61e3ed52c37b086542.zip | |
Diffstat (limited to 'frontend/src')
| -rw-r--r-- | frontend/src/store.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/frontend/src/store.tsx b/frontend/src/store.tsx index d7d86781..cd880789 100644 --- a/frontend/src/store.tsx +++ b/frontend/src/store.tsx @@ -26,7 +26,7 @@ export interface StorePluginVersion { artifact: string | undefined | null; } -export type UpdateEndpointVersions = {[name: string]: [version: string, hash: string, artifact?: string]} +export type UpdateEndpointVersions = { [name: string]: [version: string, hash: string, artifact?: string] }; export interface StorePlugin { id: number; @@ -91,7 +91,7 @@ export async function getPluginList( const storeURL = await getStoreBaseURL(); - return fetch(storeURL + "/plugins" + query, { + return fetch(storeURL + '/plugins' + query, { method: 'GET', headers: { 'X-Decky-Version': version.current, @@ -104,7 +104,7 @@ export async function getVersionList(): Promise<UpdateEndpointVersions> { const storeURL = await getStoreBaseURL(); - return fetch(storeURL + "/versions", { + return fetch(storeURL + '/versions', { method: 'GET', headers: { 'X-Decky-Version': version.current, @@ -153,7 +153,7 @@ export async function checkForPluginUpdates(plugins: (Plugin | DisabledPlugin)[] updateMap.set(plugin.name, { name: remotePlugin[0], hash: remotePlugin[1], - artifact: remotePlugin[2] + artifact: remotePlugin[2], }); } } |
