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

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));