Don't unwrap on subscription errors.

This commit is contained in:
Paul
2021-03-29 10:14:25 +01:00
parent d2864ac025
commit 0a9d5de369
4 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ use rocket_contrib::json::JsonValue;
#[get("/")]
pub async fn root() -> JsonValue {
json!({
"revolt": "0.3.3-alpha.7",
"revolt": "0.3.3-alpha.7-patch.0",
"features": {
"registration": !*DISABLE_REGISTRATION,
"captcha": {