Commit ef65a52c authored by nano's avatar nano

fix

parent b48eafcc
This diff is collapsed.
......@@ -152,7 +152,7 @@ const uploadPackageUrl = async (ctx: Context) => {
ctx.throw(400, 'params error');
}
// testUrl: https://r.my-card.in/release/dist/0c16a3ecb115fd7cf575ccdd64f62a8f3edc635b087950e4ed4f3f781972bbfd.tar.gz
DownloadQueue.run(async (ctx, _next) => {
DownloadQueue.run(async (queue, _next) => {
let pack = await mongodb.Packages.findOne({_id: toObjectID(ctx.request.body._id)});
if (!pack) {
return ctx.throw(400, 'pack not exists');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment