fix bad reference
This commit is contained in:
parent
cd3d61058b
commit
24512ad125
4
dist/index.js
vendored
4
dist/index.js
vendored
@ -2888,7 +2888,7 @@ async function main() {
|
||||
}
|
||||
|
||||
async function get_manifest(url_str) {
|
||||
const { status, body: existing_manifest } = await http_req('GET', url_str, {
|
||||
const { status, body } = await http_req('GET', url_str, {
|
||||
accept: manifest_media_type,
|
||||
});
|
||||
|
||||
@ -2897,7 +2897,7 @@ async function get_manifest(url_str) {
|
||||
throw new Error('failed to fetch existing manifest');
|
||||
}
|
||||
|
||||
return existing_manifest;
|
||||
return body;
|
||||
}
|
||||
|
||||
async function put_manifest(url_str, manifest) {
|
||||
|
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
4
index.js
4
index.js
@ -35,7 +35,7 @@ async function main() {
|
||||
}
|
||||
|
||||
async function get_manifest(url_str) {
|
||||
const { status, body: existing_manifest } = await http_req('GET', url_str, {
|
||||
const { status, body } = await http_req('GET', url_str, {
|
||||
accept: manifest_media_type,
|
||||
});
|
||||
|
||||
@ -44,7 +44,7 @@ async function get_manifest(url_str) {
|
||||
throw new Error('failed to fetch existing manifest');
|
||||
}
|
||||
|
||||
return existing_manifest;
|
||||
return body;
|
||||
}
|
||||
|
||||
async function put_manifest(url_str, manifest) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user