Update packages/backend/src/core/SearchService.ts
This commit is contained in:
parent
76d71da42b
commit
783f467321
|
|
@ -210,7 +210,7 @@ export class SearchService {
|
|||
|
||||
if (opts.host) {
|
||||
if (opts.host === '.') {
|
||||
query.andWhere('user.host IS NULL ');
|
||||
query.andWhere('user.host IS NULL');
|
||||
} else {
|
||||
query.andWhere('user.host = :host', { host: opts.host });
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue