From f4cda91e3be0bef78468dda5b1833ef7b338d481 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 13 Apr 2019 14:17:50 +0900 Subject: [PATCH] typo --- src/server/api/endpoints/admin/logs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/api/endpoints/admin/logs.ts b/src/server/api/endpoints/admin/logs.ts index 0ea3fbdbf..cb5d3940c 100644 --- a/src/server/api/endpoints/admin/logs.ts +++ b/src/server/api/endpoints/admin/logs.ts @@ -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++; }