+
+
+
+
+
diff --git a/apps/app-frontend/src/helpers/skin-site-api.ts b/apps/app-frontend/src/helpers/skin-site-api.ts
index 1d0a723..97fc534 100644
--- a/apps/app-frontend/src/helpers/skin-site-api.ts
+++ b/apps/app-frontend/src/helpers/skin-site-api.ts
@@ -1,5 +1,4 @@
import { fetch as tauriFetch } from '@tauri-apps/plugin-http'
-
export const SKIN_SITE_ORIGIN = 'https://skin.starlight.cool'
/** Where the skin site stores the JWT for this launcher. Kept separate from
@@ -204,11 +203,10 @@ export function requestCaptcha(): Promise('captcha', { auth: false })
}
-/** Submit the captcha answer; resolves to the clientId to use for login/register. */
+/** Submit the captcha rotation angle; resolves to the clientId used for login/register. */
export function verifyCaptcha(payload: {
clientId: string
- answer: string
- [key: string]: unknown
+ degree: number
}): Promise> {
return skinSiteRequest('verifyCaptcha', { method: 'POST', body: payload, auth: false })
}