Json endpoint #12

Closed
sashanoraa wants to merge 18 commits from json-resp into main
1 changed files with 7 additions and 7 deletions
Showing only changes of commit 5ff817e902 - Show all commits

View File

@ -398,13 +398,13 @@ impl Route {
let pronoun = Route::get_pronoun(name.as_ref(), prefs, settings)?;
let body = format!(r#"
{{
"subject_pronoun": "{}",
"object_pronoun": "{}",
"possesive_determiner": "{}",
"possesive_pronoun": "{}",
"reflexive_pronoun": "{}"
}}
{{
"subject_pronoun": "{}",
"object_pronoun": "{}",
"possesive_determiner": "{}",
"possesive_pronoun": "{}",
"reflexive_pronoun": "{}"
}}
"#,
pronoun.subject_pronoun,
pronoun.object_pronoun,