Skip to content

Conversation

@leonore
Copy link
Contributor

@leonore leonore commented Aug 15, 2022

running src orgs create -name X was failing with

GraphQL errors: {
  "locations": [
    {
      "column": 3,
      "line": 5
    }
  ],
  "message": "Cannot query field \"createOrg\" on type \"Mutation\". Did you mean \"createUser\"?"
}

the mutation name should be createOrganization

Test plan

SRC_ENDPOINT="https://sourcegraph.test:3443" SRC_ACCESS_TOKEN=${SG_TEST_TOKEN} go run ./cmd/src orgs create -name ce-team
Organization "ce-team" created.

@leonore leonore requested a review from a team August 15, 2022 15:35
Copy link
Member

@eseliger eseliger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😬

@leonore leonore merged commit abd00f5 into main Aug 15, 2022
@leonore leonore deleted the leo/fix-orgs-create branch August 15, 2022 15:38
scjohns pushed a commit that referenced this pull request Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants