Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix env_vars api delete error when not admin #822

Merged
merged 1 commit into from
Jan 14, 2019

Conversation

rocketeerbkw
Copy link
Member

Fixes this bug when running api queries as non-admin:

mutation deleteEnv{
  deleteEnvVariable(input: {id: 19})
}

return

{
  "errors": [
    {
      "message": "Table 'infrastructure.ev' doesn't exist",
      "locations": [
        {
          "line": 2,
          "column": 3
        }
      ],
      "path": [
        "deleteEnvVariable"
      ]
    }
  ],
  "data": {
    "deleteEnvVariable": null
  }
}

Schnitzel added a commit that referenced this pull request Dec 31, 2018
Fix env_vars api delete error when not admin
@Schnitzel Schnitzel merged commit c202dde into master Jan 14, 2019
@rocketeerbkw rocketeerbkw deleted the fix-env-var-api-delete branch January 24, 2019 21:54
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.

2 participants