mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-04-21 00:12:05 +00:00
[HD] [GUI] Fix issue where auth wouldn't work at first
Fixes issue where auth wouldn't work at first with GUI because the API version wasn't checked.
This commit is contained in:
parent
50c6ca66a3
commit
1e09625b85
1 changed files with 2 additions and 1 deletions
|
|
@ -17,7 +17,8 @@ class HidiveHandler extends Base implements MessageHandler {
|
|||
this.initState();
|
||||
}
|
||||
|
||||
public auth(data: AuthData) {
|
||||
public async auth(data: AuthData) {
|
||||
await this.getAPIVersion();
|
||||
return this.hidive.doAuth(data);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue