Merge pull request #1397 from bednar/url_missing_member_id

Fixed the organizations members paths
pull/10616/head
Jade McGough 2018-11-21 00:45:41 -08:00 committed by GitHub
commit c76539d13d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -29,9 +29,9 @@ const (
organizationsIDPath = "/api/v2/orgs/:id"
organizationsIDLogPath = "/api/v2/orgs/:id/log"
organizationsIDMembersPath = "/api/v2/orgs/:id/members"
organizationsIDMembersIDPath = "/api/v2/orgs/:id/members/:organizationID"
organizationsIDMembersIDPath = "/api/v2/orgs/:id/members/:userID"
organizationsIDOwnersPath = "/api/v2/orgs/:id/owners"
organizationsIDOwnersIDPath = "/api/v2/orgs/:id/owners/:organizationID"
organizationsIDOwnersIDPath = "/api/v2/orgs/:id/owners/:userID"
)
// NewOrgHandler returns a new instance of OrgHandler.