Skip to content

Commit

Permalink
chore(j-s): Update lawyer filtering for litigators
Browse files Browse the repository at this point in the history
  • Loading branch information
unakb committed Feb 5, 2025
1 parent 5188d0e commit ff2c0ee
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libs/judicial-system/lawyers/src/lib/lawyers.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ export class LawyersService {
async getLawyers(lawyerType?: LawyerType): Promise<Lawyer[]> {
const response = await fetch(
`${this.config.lawyerRegistryAPI}/lawyers${
lawyerType && lawyerType === LawyerType.LITIGATORS
? '?isCorporate=0'
: ''
lawyerType && lawyerType === LawyerType.LITIGATORS ? '?verjendur=1' : ''
}`,
{
headers: {
Expand Down

0 comments on commit ff2c0ee

Please sign in to comment.