Skip to content

Commit

Permalink
Replace mediaType with type
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-zero committed Mar 8, 2022
1 parent e05ed86 commit e0ef8a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/thing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ impl Thing for BaseThing {

if let Some(ui_href) = self.get_ui_href() {
let mut ui_form = serde_json::Map::new();
ui_form.insert("mediaType".to_owned(), json!("text/html"));
ui_form.insert("type".to_owned(), json!("text/html"));
ui_form.insert("href".to_owned(), json!(ui_href));
forms.push(ui_form);
}
Expand Down

0 comments on commit e0ef8a0

Please sign in to comment.