diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-14 17:31:26 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:51 +0100 |
commit | 350e31d6b64e4973dfa5e9f7b46841cb09aeb1ad (patch) | |
tree | f4191f3c04a5230fcf8ca3d6ca3248643fc4151d /server/lib/jobs/http-request-job-scheduler/http-request-broadcast-handler.ts | |
parent | e34c85e527100c0b5c44567bd951e95be41b8d7e (diff) | |
download | PeerTube-350e31d6b64e4973dfa5e9f7b46841cb09aeb1ad.tar.gz PeerTube-350e31d6b64e4973dfa5e9f7b46841cb09aeb1ad.tar.zst PeerTube-350e31d6b64e4973dfa5e9f7b46841cb09aeb1ad.zip |
Follow works
Diffstat (limited to 'server/lib/jobs/http-request-job-scheduler/http-request-broadcast-handler.ts')
-rw-r--r-- | server/lib/jobs/http-request-job-scheduler/http-request-broadcast-handler.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/lib/jobs/http-request-job-scheduler/http-request-broadcast-handler.ts b/server/lib/jobs/http-request-job-scheduler/http-request-broadcast-handler.ts index 799b86e1c..2f1d9ee92 100644 --- a/server/lib/jobs/http-request-job-scheduler/http-request-broadcast-handler.ts +++ b/server/lib/jobs/http-request-job-scheduler/http-request-broadcast-handler.ts | |||
@@ -6,6 +6,7 @@ async function process (payload: HTTPRequestPayload, jobId: number) { | |||
6 | logger.info('Processing broadcast in job %d.', jobId) | 6 | logger.info('Processing broadcast in job %d.', jobId) |
7 | 7 | ||
8 | const options = { | 8 | const options = { |
9 | method: 'POST', | ||
9 | uri: '', | 10 | uri: '', |
10 | json: payload.body | 11 | json: payload.body |
11 | } | 12 | } |