Commit 279c8e31 authored by nanahira's avatar nanahira

allow full role archive to be tried exact

parent d16709f7
Pipeline #4777 passed with stages
in 3 minutes and 5 seconds
......@@ -140,7 +140,7 @@ export class UpdateService extends ConsoleLogger {
version,
(qb) =>
qb
.andWhere('archive.role = :updateRole', { updateRole: ArchiveType.Update })
.andWhere('archive.role != :partRole', { partRole: ArchiveType.Part })
.andWhere(':requestedFiles = archive.files', { requestedFiles: requestedFiles })
.orderBy('archive.size', 'ASC')
.limit(1),
......
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