controllers/uaa.go
Method UAAContext.InviteUserToOrg
has 6 return statements (exceeds 4 allowed). Open
Open
func (c *UAAContext) InviteUserToOrg(rw web.ResponseWriter, req *web.Request) {
// parse the request
inviteUserToOrgRequest, err := c.ParseInviteUserToOrgReq(req.Request)
if err != nil {
err.writeTo(rw)
Method UAAContext.GetUAAUserByEmail
has 5 return statements (exceeds 4 allowed). Open
Open
func (c *UAAContext) GetUAAUserByEmail(email string) (
userResponse GetUAAUserResponse, err *UaaError) {
// Per https://tools.ietf.org/html/rfc7644#section-3.4.2.2, the value format in a SCIM query is JSON format
emailJSONBytes, mErr := json.Marshal(email)
if mErr != nil {