mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
await instead of return to catch error
GitOrigin-RevId: 3b96eeec1deb7edf01ff30671ef1a7e4a2446f66
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user