Code Insights: [BE] Add insights to dashboard mutation doesn't work
Created by: vovakulikov
Steps to reproduce:
- Open add/remove insights modal UI.
- Select a few insights in the list and click save
- See Dashboard not found error
GQL Request body
operationName: "AddInsightViewToDashboard"
query: "mutation AddInsightViewToDashboard($insightViewId: ID!, $dashboardId: ID!) {↵ addInsightViewToDashboard(↵ input: {insightViewId…"
dashboardId: "ZGFzaGJvYXJkOnsiSWRUeXBlIjoiY3VzdG9tIiwiQXJnIjo0MDQwMTN9"
insightViewId: "aW5zaWdodF92aWV3OiIyMHhJTXNYTHk5MlU3TDZaTWVSbHM1ZGpubk4i"
GQL Responce
data: null
errors: [
{
message: "dashboard not found"
path: ["addInsightViewToDashboard"]
}
]