We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d56f42 commit b3b2366Copy full SHA for b3b2366
src/deluge.ts
@@ -363,9 +363,9 @@ export class Deluge implements TorrentClient {
363
/**
364
*
365
* @param torrentId torrent id from list torrents
366
- * @param removeData true will delete all data from disk
+ * @param removeData (default: false) If true, remove the data from disk
367
*/
368
- async removeTorrent(torrentId: string, removeData = true): Promise<BooleanStatus> {
+ async removeTorrent(torrentId: string, removeData = false): Promise<BooleanStatus> {
369
const req = await this.request<BooleanStatus>('core.remove_torrent', [torrentId, removeData]);
370
return req._data;
371
}
0 commit comments