From 75ba29e5c7aacd28a1eac1d947352711589a3e2d Mon Sep 17 00:00:00 2001 From: spacemeowx2 Date: Tue, 27 Feb 2024 15:07:58 +0800 Subject: [PATCH] feat: add znca headers (#95) --- src/iksm.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/iksm.ts b/src/iksm.ts index 1de0a15..9fb537d 100644 --- a/src/iksm.ts +++ b/src/iksm.ts @@ -426,6 +426,8 @@ async function callImink( headers: { "User-Agent": USERAGENT, "Content-Type": "application/json", + "X-znca-Platform": "Android", + "X-znca-Version": NSOAPP_VERSION, }, body: JSON.stringify({ "token": idToken,