diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-25 16:03:33 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-26 09:11:38 +0200 |
commit | f5028693a896a3076dd286ac0030e3d8f78f5ebf (patch) | |
tree | 09144ed6357e49ea575fb110247f933283ad235e /server/helpers/requests.ts | |
parent | eb08047657e739bcd9e592d76307befa3998482b (diff) | |
download | PeerTube-f5028693a896a3076dd286ac0030e3d8f78f5ebf.tar.gz PeerTube-f5028693a896a3076dd286ac0030e3d8f78f5ebf.tar.zst PeerTube-f5028693a896a3076dd286ac0030e3d8f78f5ebf.zip |
Use async/await in lib and initializers
Diffstat (limited to 'server/helpers/requests.ts')
-rw-r--r-- | server/helpers/requests.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/requests.ts b/server/helpers/requests.ts index d67d46044..8c5d848f3 100644 --- a/server/helpers/requests.ts +++ b/server/helpers/requests.ts | |||
@@ -73,7 +73,7 @@ function makeSecureRequest (params: MakeSecureRequestParams) { | |||
73 | signature | 73 | signature |
74 | } | 74 | } |
75 | 75 | ||
76 | // If there are data informations | 76 | // If there are data information |
77 | if (params.data) { | 77 | if (params.data) { |
78 | requestParams.json.data = params.data | 78 | requestParams.json.data = params.data |
79 | } | 79 | } |