Extract responses
This commit is contained in:
parent
f803ec0da5
commit
fe8d236948
3 changed files with 21 additions and 2 deletions
|
|
@ -4,8 +4,8 @@ use axum_extra::{
|
|||
TypedHeader,
|
||||
};
|
||||
|
||||
use super::auth::auth;
|
||||
use crate::{app_state::AppState, database::models::PingResponse, errors::SyncServerError};
|
||||
use super::{auth::auth, responses::PingResponse};
|
||||
use crate::{app_state::AppState, errors::SyncServerError};
|
||||
|
||||
#[axum::debug_handler]
|
||||
pub async fn ping(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue