fix(core): update

This commit is contained in:
2020-02-09 17:54:33 +00:00
parent 04d70a4d12
commit ead87ceb63
3 changed files with 51 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ export class WorkerManager {
'Content-Type': 'application/javascript',
'Content-Length': Buffer.byteLength(workerScript)
});
return CloudflareWorker.fromApiObject(this, responseBody);
return CloudflareWorker.fromApiObject(this, responseBody.result);
}
/**