Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedebock committed Jul 11, 2022
1 parent 67e0a68 commit 305602c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/repositories/product-projection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ export class ProductProjectionRepository extends AbstractResourceRepository {
}

search(context: RepositoryContext, query: ParsedQs) {
const expand = query.expand ? query.expand as string | string[] : undefined
const expand = query.expand
? (query.expand as string | string[])
: undefined
const filter = (query['filter.query'] ?? query.filter) as any
const wherePredicate = filter ? parseFilterExpression(filter) : undefined

Expand Down

0 comments on commit 305602c

Please sign in to comment.