arvid-e 1 месяц назад
Родитель
Сommit
760cd9e5ea
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      apps/app/src/features/search/utils/disable-user-pages.ts

+ 1 - 1
apps/app/src/features/search/utils/disable-user-pages.ts

@@ -1,6 +1,6 @@
 import type { QueryTerms } from '~/server/interfaces/search';
 
-export function applyUserExclusion(terms: QueryTerms): void {
+export function excludeUserPagesFromQuery(terms: QueryTerms): void {
   terms.prefix = terms.prefix.filter((p) => !p.startsWith('/user'));
   terms.not_prefix = terms.not_prefix.filter((p) => !p.startsWith('/user'));