diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-05-05 17:35:58 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-05-05 17:35:58 +0200 |
commit | 5a976a8c351d2a9e23ceee1e193fca2893b7f12d (patch) | |
tree | 9e22c1cf835b68082bc3a12adf6a0a7b40e6ce7f /server/helpers | |
parent | 4e284e97b95d1fe93378b90061272e3abc875078 (diff) | |
download | PeerTube-5a976a8c351d2a9e23ceee1e193fca2893b7f12d.tar.gz PeerTube-5a976a8c351d2a9e23ceee1e193fca2893b7f12d.tar.zst PeerTube-5a976a8c351d2a9e23ceee1e193fca2893b7f12d.zip |
Server: move requests lib in their own directory
Diffstat (limited to 'server/helpers')
-rw-r--r-- | server/helpers/requests.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/requests.js b/server/helpers/requests.js index 427864117..efe056937 100644 --- a/server/helpers/requests.js +++ b/server/helpers/requests.js | |||
@@ -40,7 +40,7 @@ function makeSecureRequest (params, callback) { | |||
40 | 40 | ||
41 | let dataToSign | 41 | let dataToSign |
42 | if (params.data) { | 42 | if (params.data) { |
43 | dataToSign = dataToSign = params.data | 43 | dataToSign = params.data |
44 | } else { | 44 | } else { |
45 | // We do not have data to sign so we just take our host | 45 | // We do not have data to sign so we just take our host |
46 | // It is not ideal but the connection should be in HTTPS | 46 | // It is not ideal but the connection should be in HTTPS |