Return an ok response from the debug endpoint

This commit is contained in:
Ethan O'Brien 2024-10-18 22:27:47 -05:00
parent 79d3942742
commit 8ed43c8625

View file

@ -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!{})
} }