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 @@ -98,7 +98,7 @@ pub async fn update_dashboard(
98
98
99
99
let mut final_dashboard = if has_query_params {
100
100
// Apply partial updates from query parameters
101
- if let Some ( is_favorite) = query_map. get ( "is_favorite " ) {
101
+ if let Some ( is_favorite) = query_map. get ( "isFavorite " ) {
102
102
existing_dashboard. is_favorite = Some ( is_favorite == "true" ) ;
103
103
}
104
104
if let Some ( tags) = query_map. get ( "tags" ) {
@@ -114,7 +114,7 @@ pub async fn update_dashboard(
114
114
Some ( parsed_tags)
115
115
} ;
116
116
}
117
- if let Some ( rename_to) = query_map. get ( "rename_to " ) {
117
+ if let Some ( rename_to) = query_map. get ( "renameTo " ) {
118
118
let trimmed = rename_to. trim ( ) ;
119
119
if trimmed. is_empty ( ) {
120
120
return Err ( DashboardError :: Metadata ( "Rename to cannot be empty" ) ) ;
You can’t perform that action at this time.
0 commit comments