tsk-69: Retrieve username from the db #76
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user