feat: gate wrapup generate behind admin role

This commit is contained in:
2026-06-02 23:14:06 +02:00
parent 490bd97a40
commit 21c33b169e
2 changed files with 6 additions and 8 deletions

View File

@@ -1,10 +1,11 @@
use serde::{Deserialize, Serialize};
use uuid::Uuid;
#[derive(Debug, Deserialize, utoipa::ToSchema)]
pub struct GenerateWrapUpRequest {
pub start_date: String,
pub end_date: String,
pub global: Option<bool>,
pub user_id: Option<Uuid>,
}
#[derive(Debug, Serialize, utoipa::ToSchema)]