Skip to content

Commit

Permalink
Add oidc
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosthe19916 committed Dec 28, 2023
1 parent 5ae82e4 commit fa19bd6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions ublhub/server/src/server/health.rs
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
use actix_web::{get, Responder, web};
use actix_web::{get, web, Responder};

use crate::AppState;
use crate::server::Error;
use crate::AppState;

#[utoipa::path(
responses(
(status = 200, description = "Liveness"),
),
)]
#[get("/health/live")]
pub async fn liveness(
_: web::Data<AppState>,
) -> Result<impl Responder, Error> {
pub async fn liveness(_: web::Data<AppState>) -> Result<impl Responder, Error> {
Ok("Live")
}

Expand Down

0 comments on commit fa19bd6

Please sign in to comment.