Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: TTL-888 special characters searching tech
  • Loading branch information
mmaquina committed May 24, 2023
commit 0464779a42c6f2306d06ab597b6ed0233900a355
2 changes: 1 addition & 1 deletion src/app/modules/shared/services/technology.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class TechnologyService {
constructor(private http: HttpClient) {}

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