Browse Source

fix(dashboard): Pass environment in update and create (#58959)

The same as #58934 but with dashboard level update/create requests. They
have validation baked in downstream.
Nar Saynorath 1 year ago
parent
commit
45e8ead478
1 changed files with 2 additions and 0 deletions
  1. 2 0
      static/app/actionCreators/dashboards.tsx

+ 2 - 0
static/app/actionCreators/dashboards.tsx

@@ -58,6 +58,7 @@ export function createDashboard(
       },
       query: {
         project: projects,
+        environment,
       },
     }
   );
@@ -142,6 +143,7 @@ export function updateDashboard(
       data,
       query: {
         project: projects,
+        environment,
       },
     }
   );