We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When attempting to delete a project in v1.0.0 it returns project is not defined
project is not defined
To Reproduce Steps to reproduce the behavior:
mutation { deleteProject(input:{project:"example-project"}) }
{ "errors": [ { "message": "project is not defined", "locations": [ { "line": 235, "column": 2 } ], "path": [ "deleteProject" ] } ], "data": { "deleteProject": null } }
Expected behavior Project should be deleted
Additional context https://github.com/amazeeio/lagoon/blob/master/services/api/src/resources/project/resolvers.js#L351 Removing the line const project = await Helpers(sqlClient).getProjectById(pid); allows the project to be deleted successfully.
const project = await Helpers(sqlClient).getProjectById(pid);
The text was updated successfully, but these errors were encountered:
rocketeerbkw
Successfully merging a pull request may close this issue.
Describe the bug
When attempting to delete a project in v1.0.0 it returns
project is not defined
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Project should be deleted
Additional context
https://github.com/amazeeio/lagoon/blob/master/services/api/src/resources/project/resolvers.js#L351
Removing the line
const project = await Helpers(sqlClient).getProjectById(pid);
allows the project to be deleted successfully.The text was updated successfully, but these errors were encountered: