Commit 6718fcf5 authored by nanahira's avatar nanahira

remove unused join

parent 2433c473
Pipeline #5360 passed with stages
in 5 minutes
......@@ -201,10 +201,12 @@ export class UpdateService extends ConsoleLogger {
}
async getPartPackageMetalink(id: string, depotDto: DepotDto, version: string, requestedFiles: string[]) {
const build = await this.getBuild(id, depotDto, version, (qb) =>
qb
.select(['build.id', 'archive.id'])
.leftJoin('build.archives', 'archive', 'archive.role = :partRole', { partRole: ArchiveType.Part })
const build = await this.getBuild(
id,
depotDto,
version,
(qb) => qb.select('build.id')
//.leftJoin('build.archives', 'archive', 'archive.role = :partRole', { partRole: ArchiveType.Part })
);
// console.log(build.archives);
//let clock = moment();
......
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