This commit is contained in:
syuilo 2019-04-13 14:17:50 +09:00
parent 8c331da315
commit 960268fd33
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ export default define(meta, async (ps) => {
qb.andWhere(`log.domain[${i + 1}] != :${p}`, { [p]: subDomain });
} else {
// SQL is 1 based, so we need '+ 1'
qb.andWhere(`log.domain[${i + 1}] == :${p}`, { [p]: subDomain });
qb.andWhere(`log.domain[${i + 1}] = :${p}`, { [p]: subDomain });
}
i++;
}