Skip to content

Commit 0464779

Browse files
committed
fix: TTL-888 special characters searching tech
1 parent 35c5075 commit 0464779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/modules/shared/services/technology.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export class TechnologyService {
1212
constructor(private http: HttpClient) {}
1313

1414
getTechnologies(value: string): Observable<Technology> {
15-
const url = `${this.baseUrl}&inname=${value}&site=stackoverflow&key=${STACK_EXCHANGE_ID}&access_token=${STACK_EXCHANGE_ACCESS_TOKEN}`;
15+
const url = `${this.baseUrl}&inname=${encodeURIComponent(value)}&site=stackoverflow&key=${STACK_EXCHANGE_ID}&access_token=${STACK_EXCHANGE_ACCESS_TOKEN}`;
1616
return this.http.get<Technology>(url);
1717
}
1818
}

0 commit comments

Comments
 (0)