Commit d16709f7 authored by nanahira's avatar nanahira

fix

parent c1b98d1c
Pipeline #4774 passed with stages
in 7 minutes and 32 seconds
......@@ -29,11 +29,11 @@ export class DepotDto implements DepotLike {
const value = this[field];
if (!value || value === 'generic') {
return new Brackets((qb) => {
qb.where(`build.${field} = 'generic`);
qb.where(`build.${field} = 'generic'`);
});
} else {
return new Brackets((qb) => {
qb.where(`build.${field} = 'generic`).orWhere(`build.${field} = :${field}`, { [field]: value });
qb.where(`build.${field} = 'generic'`).orWhere(`build.${field} = :${field}`, { [field]: value });
});
}
}
......
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