Skip to content

Commit e6a0983

Browse files
Commit via running ake Sources/orgs
1 parent 8aeba0d commit e6a0983

File tree

2 files changed

+398
-117
lines changed

2 files changed

+398
-117
lines changed

Sources/orgs/Client.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2887,7 +2887,7 @@ public struct Client: APIProtocol {
28872887
///
28882888
/// **Rate limits**
28892889
///
2890-
/// To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.
2890+
/// To prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.
28912891
///
28922892
/// - Remark: HTTP `PUT /orgs/{org}/memberships/{username}`.
28932893
/// - Remark: Generated from `#/paths//orgs/{org}/memberships/{username}/put(orgs/set-membership-for-user)`.
@@ -4134,7 +4134,7 @@ public struct Client: APIProtocol {
41344134
switch chosenContentType {
41354135
case "application/json":
41364136
body = try await converter.getResponseBodyAsJSON(
4137-
[Components.Schemas.team].self,
4137+
[Components.Schemas.team_hyphen_role_hyphen_assignment].self,
41384138
from: responseBody,
41394139
transforming: { value in
41404140
.json(value)
@@ -4229,7 +4229,7 @@ public struct Client: APIProtocol {
42294229
switch chosenContentType {
42304230
case "application/json":
42314231
body = try await converter.getResponseBodyAsJSON(
4232-
[Components.Schemas.simple_hyphen_user].self,
4232+
[Components.Schemas.user_hyphen_role_hyphen_assignment].self,
42334233
from: responseBody,
42344234
transforming: { value in
42354235
.json(value)

0 commit comments

Comments
 (0)