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 {
173
173
let dashboard_id = dashboard
174
174
. dashboard_id
175
175
. 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" ) ) ;
177
177
178
178
let store = PARSEABLE . storage . get_object_store ( ) ;
179
179
let dashboard_bytes = serde_json:: to_vec ( & dashboard) ?;
@@ -233,7 +233,7 @@ impl Dashboards {
233
233
self . ensure_dashboard_ownership ( dashboard_id, user_id)
234
234
. await ?;
235
235
236
- let path = dashboard_path ( user_id, & format ! ( "{}.json" , dashboard_id ) ) ;
236
+ let path = dashboard_path ( user_id, & format ! ( "{dashboard_id }.json" ) ) ;
237
237
let store = PARSEABLE . storage . get_object_store ( ) ;
238
238
store. delete_object ( & path) . await ?;
239
239
You can’t perform that action at this time.
0 commit comments