Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #166 from patrick-rodgers/dev
Browse files Browse the repository at this point in the history
making update from PR #145 that doesn't include all of the files
  • Loading branch information
patrick-rodgers authored Jul 27, 2016
2 parents dd94e1c + deaec1a commit fbeb341
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sharepoint/rest/roles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class RoleAssignments extends QueryableCollection {
*
*/
public add(principalId: number, roleDefId: number): Promise<void> {
let a = new RoleAssignments(this, `addroleassignment(principalid=${principalId}, roledefid=${roleDefId}`);
let a = new RoleAssignments(this, `addroleassignment(principalid=${principalId}, roledefid=${roleDefId})`);
return a.post();
}

Expand All @@ -41,7 +41,7 @@ export class RoleAssignments extends QueryableCollection {
*
*/
public remove(principalId: number, roleDefId: number): Promise<void> {
let a = new RoleAssignments(this, `removeroleassignment(principalid=${principalId}, roledefid=${roleDefId}`);
let a = new RoleAssignments(this, `removeroleassignment(principalid=${principalId}, roledefid=${roleDefId})`);
return a.post();
}

Expand Down

0 comments on commit fbeb341

Please sign in to comment.