mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-03-23 00:34:52 +01:00
fix user type
This commit is contained in:
parent
96fe7784c3
commit
b328c15bea
2 changed files with 2 additions and 2 deletions
|
@ -2448,7 +2448,7 @@ type MetaResponse = operations['meta']['responses']['200']['content']['applicati
|
||||||
type MiAuthCheckResponse = {
|
type MiAuthCheckResponse = {
|
||||||
ok: true;
|
ok: true;
|
||||||
token: string;
|
token: string;
|
||||||
user: User;
|
user: UserDetailedNotMe;
|
||||||
} | {
|
} | {
|
||||||
ok: false;
|
ok: false;
|
||||||
};
|
};
|
||||||
|
|
|
@ -314,7 +314,7 @@ export type SigninWithPasskeyResponse = {
|
||||||
export type MiAuthCheckResponse = {
|
export type MiAuthCheckResponse = {
|
||||||
ok: true;
|
ok: true;
|
||||||
token: string;
|
token: string;
|
||||||
user: User;
|
user: UserDetailedNotMe;
|
||||||
} | {
|
} | {
|
||||||
ok: false;
|
ok: false;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue