adding card dav and cald dav
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
use axum::{
|
||||
Router,
|
||||
routing::get,
|
||||
http::StatusCode,
|
||||
response::IntoResponse,
|
||||
Json,
|
||||
};
|
||||
use std::sync::Arc;
|
||||
use serde_json::json;
|
||||
|
||||
use crate::common::di::AppState;
|
||||
|
||||
// Temporary placeholder implementation
|
||||
pub fn caldav_routes() -> Router<AppState> {
|
||||
Router::new()
|
||||
.route("/placeholder", get(placeholder_handler))
|
||||
}
|
||||
|
||||
async fn placeholder_handler() -> impl IntoResponse {
|
||||
(StatusCode::OK, Json(json!({
|
||||
"message": "CalDAV functionality is not yet implemented"
|
||||
})))
|
||||
}
|
||||
Reference in New Issue
Block a user