Skip to content

Commit d268c09

Browse files
committed
fixed initialization of SPTermStorePickerService.ts
1 parent cd9d8d2 commit d268c09

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/services/SPTermStorePickerService.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ export default class SPTermStorePickerService {
2828
* Service constructor
2929
*/
3030
constructor(private props: ITaxonomyPickerProps, private context: BaseComponentContext) {
31+
this.clientServiceUrl = this.context.pageContext.web.absoluteUrl + '/_vti_bin/client.svc/ProcessQuery';
32+
this.suggestionServiceUrl = this.context.pageContext.web.absoluteUrl + "/_vti_bin/TaxonomyInternalService.json/GetSuggestions";
3133
}
3234

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

0 commit comments

Comments
 (0)