fix user type
This commit is contained in:
parent
96fe7784c3
commit
b328c15bea
|
@ -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…
Reference in New Issue