Skip to content

Commit 6b78e74

Browse files
committed
sigh
1 parent 1fe8716 commit 6b78e74

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

api/download.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ module.exports = (req, res) => {
1919
headers: { ...req.headers, authorization },
2020
})
2121
.then((r) => r.json())
22-
.then((r) => {
23-
console.log(r);
24-
return r.versions[r['dist-tags'].latest].dist.tarball;
25-
})
22+
.then((r) => r.versions[r['dist-tags'].latest].dist.tarball)
2623
.then((link) => fetch(link, {
2724
redirect: 'manual',
2825
headers: { authorization },

0 commit comments

Comments
 (0)