This commit is contained in:
Satsuki Yanagi 2019-07-14 03:56:34 +09:00 committed by syuilo
parent a6f5e23069
commit b7273c90ae

View file

@ -59,7 +59,7 @@ export const meta = {
export default define(meta, async (ps, me) => {
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));