Skip to content

Commit

Permalink
lint?
Browse files Browse the repository at this point in the history
  • Loading branch information
penginn-net authored Mar 25, 2024
1 parent 3937e4e commit c8c894b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions packages/backend/src/core/SearchService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,9 @@ export class SearchService {
query.andWhere('user.host = :host', { host: opts.host });
}
}
if(opts.fileOption){
if(opts.fileOption === 'file-only'){

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

if (opts.fileOption) {
if (opts.fileOption === 'file-only') {
} if (opts.fileOption === 'no-file') {
}
}
this.queryService.generateVisibilityQuery(query, me);
Expand Down

0 comments on commit c8c894b

Please sign in to comment.