This commit is contained in:
Satsuki Yanagi 2019-07-14 03:56:34 +09:00 committed by syuilo
parent a6f5e23069
commit b7273c90ae
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ export const meta = {
export default define(meta, async (ps, me) => { export default define(meta, async (ps, me) => {
const query = Users.createQueryBuilder('user') const query = Users.createQueryBuilder('user')
.where(':tag = ANY(user.tags)', { tag: ps.tag }); .where(':tag = ANY(user.tags)', { tag: ps.tag.toLowerCase() });
const recent = new Date(Date.now() - (1000 * 60 * 60 * 24 * 5)); const recent = new Date(Date.now() - (1000 * 60 * 60 * 24 * 5));