mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
await instead of return to catch error
GitOrigin-RevId: 3b96eeec1deb7edf01ff30671ef1a7e4a2446f66
This commit is contained in:
parent
9c87ad9801
commit
e900209d1d
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ async function enqueue(group, method, job) {
|
|||
return
|
||||
}
|
||||
try {
|
||||
return request({
|
||||
await request({
|
||||
uri: `${tpdsWorkerUrl}/enqueue/web_to_tpds_http_requests`,
|
||||
json: { group, job, method },
|
||||
method: 'post',
|
||||
|
|
Loading…
Reference in a new issue