tsk-14: Update user profile #15

Merged
phoenix merged 8 commits from tsk-14 into main 2026-11-11 13:13:50 -05:00
Showing only changes of commit 7f716b62f1 - Show all commits
+3 -5
View File
@@ -1,5 +1,4 @@
use soaricarus_auth; use soaricarus_auth::{config, init};
use soaricarus_auth::init;
#[tokio::main] #[tokio::main]
async fn main() { async fn main() {
@@ -9,7 +8,7 @@ async fn main() {
let app = init::app().await; let app = init::app().await;
// run our app with hyper, listening globally on port 8001 // run our app with hyper, listening globally on port 8001
let url = soaricarus_auth::config::get_full(); let url = config::get_full();
let listener = tokio::net::TcpListener::bind(url).await.unwrap(); let listener = tokio::net::TcpListener::bind(url).await.unwrap();
axum::serve(listener, app).await.unwrap(); axum::serve(listener, app).await.unwrap();
} }
@@ -18,8 +17,7 @@ async fn main() {
mod tests { mod tests {
use super::*; use super::*;
use soaricarus_auth; use soaricarus_auth;
use soaricarus_auth::callers; use soaricarus_auth::{callers, db};
use soaricarus_auth::db;
use axum::{ use axum::{
body::Body, body::Body,