Skip to content

Commit

Permalink
Switched from /beta endpoint to /v1.0 as all required features are no…
Browse files Browse the repository at this point in the history
…w supported there.
  • Loading branch information
YannickRe committed Oct 4, 2020
1 parent 4b182ee commit 76d5963
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Version|Date|Comments
2.1.0|September 9th, 2020|Added built-in searchbox, option to disable LPC and pagination support
2.1.1|September 13th, 2020|Small bugfix for issue when showBlank and SearchBox are combined + result count on pages > 1
2.2.0|September 21st, 2020|Implemented batch loading of profile pictures
2.2.1|October 4th, 2020|Switched from beta endpoint to v1.0, as all required features are now supported there

## Disclaimer
**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
Expand Down
2 changes: 1 addition & 1 deletion config/package-solution.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"name": "Microsoft Graph People Search",
"id": "98a8d9d1-47c4-477c-addd-ecae95b235cc",
"version": "2.2.0.0",
"version": "2.2.1.0",
"includeClientSideAssets": true,
"skipFeatureDeployment": true,
"isDomainIsolated": false
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "spfx-msgraph-peoplesearch",
"version": "2.2.0",
"version": "2.2.1",
"private": true,
"main": "lib/index.js",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion src/services/SearchService/SearchService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class SearchService implements ISearchService {

let resultQuery = graphClient
.api('/users')
.version("beta")
.version("v1.0")
.header("ConsistencyLevel", "eventual")
.count(true)
.top(this.pageSize);
Expand Down

0 comments on commit 76d5963

Please sign in to comment.