Skip to content

Commit

Permalink
fix(Torrents): fixed torrents API endpoint url
Browse files Browse the repository at this point in the history
  • Loading branch information
pavloniym committed Jan 15, 2022
1 parent 25f8e98 commit a1e815c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/proxies/release/ReleaseProxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default class ReleaseProxy extends BaseProxy {
*/
async getReleaseTorrent(url, parameters = {}) {
if (url) {
return await this.submit('GET', this.getStaticEndpoint() + url, {...parameters, responseType: 'arraybuffer'});
return await this.submit('GET', this.getApiEndpoint() + url, {...parameters, responseType: 'arraybuffer'});
} else return null;
}

Expand Down

0 comments on commit a1e815c

Please sign in to comment.