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

Projects
None yet
2 participants
@rocketeerbkw
Copy link
Member

rocketeerbkw commented Dec 21, 2018

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

Merge pull request #822 from amazeeio/fix-env-var-api-delete
Fix env_vars api delete error when not admin

@Schnitzel Schnitzel merged commit c202dde into master Jan 14, 2019

1 check passed

continuous-integration/jenkins/pr-merge This commit looks good
Details

@rocketeerbkw rocketeerbkw deleted the fix-env-var-api-delete branch Jan 24, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment