Commit 465a523d authored by nanahira's avatar nanahira

change api

parent f79422ce
Pipeline #16065 passed with stages
in 6 minutes and 41 seconds
......@@ -72,7 +72,7 @@ export class LoginService {
} else {
window.ygopro.updateUser(this.user.username, this.user.avatar_url, this.user.email);
}*/
window.ygopro.loginUser(this.user, null);
window.ygopro.loginUser(this.user, '');
} catch (error) {
console.error(error);
}
......
......@@ -16,7 +16,7 @@ interface Window {
backHome(): void;
share(text: string): void
updateUser(name: string, avatar: string, status: string): void;
loginUser(user: any, exception: any): void;
loginUser(user: any, exception: string): void;
readFile(path: string): string;
writeFile(path: string, data: string): string;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment