- fix: issue where login failed to return the user if their role was null
- add: register route for api-service - update: spawn a thread for the rest api in the api service
This commit is contained in:
@@ -65,7 +65,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
|
||||
// Start the Axum REST API
|
||||
info!("Starting REST API on {}:{}", addr, port);
|
||||
axum_gateway::serve_rest_api(grpc_client).await?;
|
||||
tokio::spawn(axum_gateway::serve_rest_api(grpc_client));
|
||||
|
||||
select! {
|
||||
_ = signal::ctrl_c() => {},
|
||||
|
||||
Reference in New Issue
Block a user