Skip to content

Commit 81645c6

Browse files
committed
feat: changes in NewTorrentResponseData to follow API changes
Response changed from: ```json { "data": { "torrent_id": 12, "info_hash": "c01f910ff0cc2a1b8c7a1f6ab948377604d8c464", "original_info_hash": "dc0c6be689b28696319263ef27f9df4da8ded0a2" } } ``` To: ```json { "data": { "torrent_id": 12, "canonical_info_hash": "c01f910ff0cc2a1b8c7a1f6ab948377604d8c464", "info_hash": "dc0c6be689b28696319263ef27f9df4da8ded0a2" } } ```
1 parent 6b16a87 commit 81645c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/modes/rest/resources/torrent.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ type NewTorrentResponse = {
6060

6161
type NewTorrentResponseData = {
6262
torrent_id: number
63+
canonical_info_hash: string
6364
info_hash: string
6465
}
6566

0 commit comments

Comments
 (0)