Skip to content
Snippets Groups Projects
Commit 423e7692 authored by syuilo's avatar syuilo
Browse files

chore(server): tweak api for admin

parent a279d502
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment