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

Commit 3b7278e

Browse files
author
Tomi Tavela
authored
Update usercustomactions.ts
1 parent 1bf4060 commit 3b7278e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/sharepoint/rest/usercustomactions.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ export class UserCustomActions extends QueryableCollection {
1616
* @param id The GUID ID of the user custom action to get.
1717
*/
1818
public getById(id: string): UserCustomAction {
19-
return new UserCustomAction(this, `(${id})`);
19+
let uca = new UserCustomAction(this);
20+
uca.concat(`('${id}')`);
21+
return uca;
2022
}
2123

2224
/**

0 commit comments

Comments
 (0)