mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-12-18 16:26:26 +00:00
Unwrap option
This commit is contained in:
parent
fb66b087a4
commit
8765b12229
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ fn about(user: Option<User>, conn: DbConn) -> Template {
|
||||||
|
|
||||||
#[get("/manifest.json")]
|
#[get("/manifest.json")]
|
||||||
fn web_manifest(conn: DbConn) -> Json<serde_json::Value> {
|
fn web_manifest(conn: DbConn) -> Json<serde_json::Value> {
|
||||||
let instance = Instance::get_local(&*conn);
|
let instance = Instance::get_local(&*conn).unwrap();
|
||||||
Json(json!({
|
Json(json!({
|
||||||
"name": &instance.name,
|
"name": &instance.name,
|
||||||
"description": &instance.short_description,
|
"description": &instance.short_description,
|
||||||
|
|
Loading…
Reference in a new issue