Return an ok response from the debug endpoint
This commit is contained in:
parent
79d3942742
commit
8ed43c8625
@ -1,4 +1,4 @@
|
|||||||
use json::{JsonValue};
|
use json::{JsonValue, object};
|
||||||
use actix_web::{HttpRequest};
|
use actix_web::{HttpRequest};
|
||||||
|
|
||||||
use crate::encryption;
|
use crate::encryption;
|
||||||
@ -8,5 +8,5 @@ pub fn error(_req: HttpRequest, body: String) -> Option<JsonValue> {
|
|||||||
|
|
||||||
println!("client error: {}", body["code"]);
|
println!("client error: {}", body["code"]);
|
||||||
|
|
||||||
None
|
Some(object!{})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user