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(server): updated correct promptsService in deletePrompt mutation #236

Conversation

adityapuri75
Copy link
Contributor

@adityapuri75 adityapuri75 commented Oct 11, 2023

Fixes #235

To fetch prompt data it was using wrong prompt service (promptsService.deletePrompt) which was causing the error while we were deleting the prompt and in try catch block it was again calling (promptsService.deletePrompt).

@arielweinberger
Copy link
Member

Excellent work @adityapuri75 and really good that you caught that.

@arielweinberger arielweinberger merged commit 82196ba into pezzolabs:main Oct 11, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not Redirecting after deleting a prompt
2 participants