Skip to content

Commit

Permalink
形だけ?
Browse files Browse the repository at this point in the history
  • Loading branch information
penginn-net committed Mar 25, 2024
1 parent 2121c6d commit 3937e4e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 7 additions & 1 deletion packages/backend/src/core/SearchService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,13 @@ export class SearchService {
query.andWhere('user.host = :host', { host: opts.host });
}
}

if(opts.fileOption){

Check failure on line 245 in packages/backend/src/core/SearchService.ts

View workflow job for this annotation

GitHub Actions / lint (backend)

Expected space(s) after "if"

Check failure on line 245 in packages/backend/src/core/SearchService.ts

View workflow job for this annotation

GitHub Actions / lint (backend)

Missing space before opening brace
if(opts.fileOption === 'file-only'){

Check failure on line 246 in packages/backend/src/core/SearchService.ts

View workflow job for this annotation

GitHub Actions / lint (backend)

Expected space(s) after "if"

Check failure on line 246 in packages/backend/src/core/SearchService.ts

View workflow job for this annotation

GitHub Actions / lint (backend)

Missing space before opening brace

}if(opts.fileOption === 'no-file'){

Check failure on line 248 in packages/backend/src/core/SearchService.ts

View workflow job for this annotation

GitHub Actions / lint (backend)

Expected space(s) before "if"

Check failure on line 248 in packages/backend/src/core/SearchService.ts

View workflow job for this annotation

GitHub Actions / lint (backend)

Expected space(s) after "if"

Check failure on line 248 in packages/backend/src/core/SearchService.ts

View workflow job for this annotation

GitHub Actions / lint (backend)

Missing space before opening brace

}
}
this.queryService.generateVisibilityQuery(query, me);
if (me) this.queryService.generateMutedUserQuery(query, me);
if (me) this.queryService.generateBlockedUserQuery(query, me);
Expand Down
1 change: 0 additions & 1 deletion packages/frontend/src/pages/search.note.vue
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ async function search() {
query: searchQuery.value,
userId: user.value ? user.value.id : null,
origin: searchOrigin.value,
fileOption: isfileOnly.value,
},
};
Expand Down

0 comments on commit 3937e4e

Please sign in to comment.