File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ impl Dashboards {
173173 let dashboard_id = dashboard
174174 . dashboard_id
175175 . ok_or ( DashboardError :: Metadata ( "Dashboard ID must be provided" ) ) ?;
176- let path = dashboard_path ( user_id, & format ! ( "{}.json" , dashboard_id ) ) ;
176+ let path = dashboard_path ( user_id, & format ! ( "{dashboard_id }.json" ) ) ;
177177
178178 let store = PARSEABLE . storage . get_object_store ( ) ;
179179 let dashboard_bytes = serde_json:: to_vec ( & dashboard) ?;
@@ -233,7 +233,7 @@ impl Dashboards {
233233 self . ensure_dashboard_ownership ( dashboard_id, user_id)
234234 . await ?;
235235
236- let path = dashboard_path ( user_id, & format ! ( "{}.json" , dashboard_id ) ) ;
236+ let path = dashboard_path ( user_id, & format ! ( "{dashboard_id }.json" ) ) ;
237237 let store = PARSEABLE . storage . get_object_store ( ) ;
238238 store. delete_object ( & path) . await ?;
239239
You can’t perform that action at this time.
0 commit comments