Skip to content

Commit

Permalink
Move torrent client to the separate service
Browse files Browse the repository at this point in the history
  • Loading branch information
galushko committed Oct 18, 2023
1 parent ebda5e8 commit 305c57d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public TorrentsList() {
protected void getDeliverCallbackPrivate(SmartJson message) {
long chatId = message.getUserId();

String requestBody = ResourceReader.readResourceContent("get_torrents_list.json");
String requestBody = ResourceReader.readResourceContent("transmission_requests/get_torrents_list.json");
val responce = send("", "Content-Type", "application/json");
String sessionIdKey = "X-Transmission-Session-Id";
String sessionIdValue = responce.getHeader(sessionIdKey);
Expand Down

0 comments on commit 305c57d

Please sign in to comment.