mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-29 07:18:08 +09:00
chore(server): tweak api for admin
This commit is contained in:
parent
4ba0d551e0
commit
7e3404e763
@ -61,7 +61,7 @@ export default define(meta, paramDef, async (ps, me) => {
|
||||
}
|
||||
|
||||
if (ps.hostname) {
|
||||
query.andWhere('user.host like :hostname', { hostname: '%' + ps.hostname.toLowerCase() + '%' });
|
||||
query.andWhere('user.host = :hostname', { hostname: ps.hostname.toLowerCase() });
|
||||
}
|
||||
|
||||
switch (ps.sort) {
|
||||
|
Loading…
Reference in New Issue
Block a user