Skip to content

Commit

Permalink
Merge pull request #17 from bhaan/search-controller
Browse files Browse the repository at this point in the history
Add search controller to api client
  • Loading branch information
yosemiteyss authored May 21, 2024
2 parents b7a860e + 3f4ed45 commit 254c455
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/src/v2/qbittorrent_api_v2.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import 'package:qbittorrent_api/src/network/dio_client.dart';
import 'package:qbittorrent_api/src/v2/application/application_controller.dart';
import 'package:qbittorrent_api/src/v2/auth/auth_controller.dart';
import 'package:qbittorrent_api/src/v2/log/log_controller.dart';
import 'package:qbittorrent_api/src/v2/search/search_controller.dart';
import 'package:qbittorrent_api/src/v2/sync/sync_controller.dart';
import 'package:qbittorrent_api/src/v2/torrents/torrents_controller.dart';
import 'package:qbittorrent_api/src/v2/transfer/transfer_controller.dart';
Expand Down Expand Up @@ -35,6 +36,7 @@ class QBittorrentApiV2 {
application = ApplicationController(_apiClient);
log = LogController(_apiClient);
sync = SyncController(_apiClient);
search = SearchController(_apiClient);
transfer = TransferController(_apiClient);
torrents = TorrentsController(_apiClient);
}
Expand All @@ -45,6 +47,7 @@ class QBittorrentApiV2 {
late final ApplicationController application;
late final LogController log;
late final SyncController sync;
late final SearchController search;
late final TransferController transfer;
late final TorrentsController torrents;
}

0 comments on commit 254c455

Please sign in to comment.