Skip to content

Commit 84524d0

Browse files
committed
fix: add doc comment
1 parent 70f98a6 commit 84524d0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

site/src/api/api.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,9 @@ class ApiMethods {
600600
return response.data;
601601
};
602602

603+
/**
604+
* @param organization Can be the organization's ID or name
605+
*/
603606
patchOrganizationRole = async (
604607
organization: string,
605608
role: TypesGen.Role,
@@ -612,6 +615,9 @@ class ApiMethods {
612615
return response.data;
613616
};
614617

618+
/**
619+
* @param organization Can be the organization's ID or name
620+
*/
615621
deleteOrganizationRole = async (organization: string, roleName: string) => {
616622
await this.axios.delete(
617623
`/api/v2/organizations/${organization}/members/roles/${roleName}`,

0 commit comments

Comments
 (0)