From a63048a9dfbe435f8a3186e442d65d6557529ea9 Mon Sep 17 00:00:00 2001 From: Johannes Frankenau Date: Fri, 1 Sep 2017 18:36:16 +0200 Subject: [PATCH] (Fix) dropped first url --- bin/decrypt-dlc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/decrypt-dlc b/bin/decrypt-dlc index fc93ed6..2d241be 100755 --- a/bin/decrypt-dlc +++ b/bin/decrypt-dlc @@ -44,7 +44,7 @@ if (isFile(program.args[0]) && isDLCFile(program.args[0])) { decrypt.upload(program.args[0], (err, response) => { if (err) throw err; - urls = response.success.links.slice(1).join('\n'); + urls = response.success.links.join('\n'); storeUrlsInFile(urls); }); } else if (isFile(program.args[0]) && !isDLCFile(program.args[0])) { @@ -54,7 +54,7 @@ if (isFile(program.args[0]) && isDLCFile(program.args[0])) { decrypt.paste(content, (err, response) => { if (err) throw err; - urls = response.success.links.slice(1).join('\n'); + urls = response.success.links.join('\n'); storeUrlsInFile(urls); }); }); @@ -62,7 +62,7 @@ if (isFile(program.args[0]) && isDLCFile(program.args[0])) { decrypt.container(program.args[0], (err, response) => { if (err) throw err; - urls = response.success.links.slice(1).join('\n'); + urls = response.success.links.join('\n'); storeUrlsInFile(urls); }); } else {