tsk-69: Retrieve username from the db #76

Merged
phoenix merged 7 commits from tsk-69 into main 2025-10-22 15:35:29 +00:00
Showing only changes of commit 07932f71da - Show all commits

View File

@@ -59,10 +59,6 @@ pub mod endpoint {
use super::request; use super::request;
use super::response; use super::response;
// TODO: At some point, get the username from the DB
// Name of service username when returning a login result
pub const SERVICE_USERNAME: &str = "service";
async fn not_found(message: &str) -> (StatusCode, Json<response::Response>) { async fn not_found(message: &str) -> (StatusCode, Json<response::Response>) {
( (
StatusCode::NOT_FOUND, StatusCode::NOT_FOUND,