Skip to content

Commit

Permalink
fixed initialization of SPTermStorePickerService.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
SmarterJB committed Sep 14, 2022
1 parent cd9d8d2 commit d268c09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/services/SPTermStorePickerService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ export default class SPTermStorePickerService {
* Service constructor
*/
constructor(private props: ITaxonomyPickerProps, private context: BaseComponentContext) {
this.clientServiceUrl = this.context.pageContext.web.absoluteUrl + '/_vti_bin/client.svc/ProcessQuery';
this.suggestionServiceUrl = this.context.pageContext.web.absoluteUrl + "/_vti_bin/TaxonomyInternalService.json/GetSuggestions";
}

public async getTermLabels(termId: string): Promise<string[]> {
Expand Down

0 comments on commit d268c09

Please sign in to comment.