Skip to content

Commit

Permalink
Merge pull request #30 from DEFRA/326377
Browse files Browse the repository at this point in the history
Add groups/{id} GET and PATCH aad stubs
  • Loading branch information
chotai authored Mar 21, 2024
2 parents 22bf714 + 47ed813 commit 4568900
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions src/api/aad/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,28 @@ const aadStub = {
},
{
method: 'GET',
path: '/msgraph/v1.0/users',
...msgraphUsers
path: '/msgraph/v1.0/groups/{id}',
...msgraphGroups
},
{
method: 'GET',
path: '/msgraph/v1.0/users/{id}',
...msgraphUser
method: 'PATCH',
path: '/msgraph/v1.0/groups/{id}',
...msgraphGroups
},
{
method: 'POST',
path: '/msgraph/v1.0/groups/{id}/members/$ref',
...msgraphMembers
},
{
method: 'GET',
path: '/msgraph/v1.0/users',
...msgraphUsers
},
{
method: 'GET',
path: '/msgraph/v1.0/users/{id}',
...msgraphUser
}
])
}
Expand Down

0 comments on commit 4568900

Please sign in to comment.