mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: refactor api
This commit is contained in:
parent
f21a8bf784
commit
ba08e0b112
4 changed files with 65 additions and 57 deletions
|
@ -21,7 +21,7 @@ const loadState = async (userPreferences: UserPreferences | null) => {
|
|||
if (userPreferences?.realDebridApiToken)
|
||||
RealDebridClient.authorize(userPreferences?.realDebridApiToken);
|
||||
|
||||
HydraApi.createInstance();
|
||||
HydraApi.setupApi();
|
||||
|
||||
const [nextQueueItem] = await downloadQueueRepository.find({
|
||||
order: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue