From 8765b1222977864c74c329fa91082d24774d6e58 Mon Sep 17 00:00:00 2001 From: Zachary Dunn Date: Mon, 10 Sep 2018 14:54:18 -0400 Subject: [PATCH] Unwrap option --- src/routes/instance.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/instance.rs b/src/routes/instance.rs index 4d3a184..1bec0f3 100644 --- a/src/routes/instance.rs +++ b/src/routes/instance.rs @@ -247,7 +247,7 @@ fn about(user: Option, conn: DbConn) -> Template { #[get("/manifest.json")] fn web_manifest(conn: DbConn) -> Json { - let instance = Instance::get_local(&*conn); + let instance = Instance::get_local(&*conn).unwrap(); Json(json!({ "name": &instance.name, "description": &instance.short_description,