mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew.git
synced 2025-05-13 11:37:33 -05:00
Return an ok response from the debug endpoint
This commit is contained in:
parent
79d3942742
commit
8ed43c8625
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
use json::{JsonValue};
|
||||
use json::{JsonValue, object};
|
||||
use actix_web::{HttpRequest};
|
||||
|
||||
use crate::encryption;
|
||||
|
@ -8,5 +8,5 @@ pub fn error(_req: HttpRequest, body: String) -> Option<JsonValue> {
|
|||
|
||||
println!("client error: {}", body["code"]);
|
||||
|
||||
None
|
||||
Some(object!{})
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue