From b328c15bea88ea8da135ed734393787fa0b30500 Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Sun, 3 Nov 2024 16:25:15 +0900 Subject: [PATCH] fix user type --- packages/misskey-js/etc/misskey-js.api.md | 2 +- packages/misskey-js/src/entities.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/misskey-js/etc/misskey-js.api.md b/packages/misskey-js/etc/misskey-js.api.md index a99cefb0aa..8d1624fee6 100644 --- a/packages/misskey-js/etc/misskey-js.api.md +++ b/packages/misskey-js/etc/misskey-js.api.md @@ -2448,7 +2448,7 @@ type MetaResponse = operations['meta']['responses']['200']['content']['applicati type MiAuthCheckResponse = { ok: true; token: string; - user: User; + user: UserDetailedNotMe; } | { ok: false; }; diff --git a/packages/misskey-js/src/entities.ts b/packages/misskey-js/src/entities.ts index 84fe72a829..5d6a139860 100644 --- a/packages/misskey-js/src/entities.ts +++ b/packages/misskey-js/src/entities.ts @@ -314,7 +314,7 @@ export type SigninWithPasskeyResponse = { export type MiAuthCheckResponse = { ok: true; token: string; - user: User; + user: UserDetailedNotMe; } | { ok: false; };