- profile.rs: GET/PATCH /api/profile, POST /api/profile/submit-for-verification, GET /api/me/verification-status — all role-aware, guards against duplicate pending - verifications.rs: add POST /api/admin/verifications/:id/request-documents, fix RoleRepository/wallet_id match arm type errors - coupons.rs: fix update_discount missing match block and i64/i32 type mismatch - main.rs: mount /api/profile and /api/me verification-status routers Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
21 lines
388 B
Rust
21 lines
388 B
Rust
pub mod admin;
|
|
pub mod approvals;
|
|
pub mod auth;
|
|
pub mod config;
|
|
pub mod coupons;
|
|
pub mod dashboard;
|
|
pub mod departments;
|
|
pub mod designations;
|
|
pub mod employees;
|
|
pub mod kb;
|
|
pub mod notifications;
|
|
pub mod onboarding;
|
|
pub mod permissions;
|
|
pub mod pricing;
|
|
pub mod reviews;
|
|
pub mod roles;
|
|
pub mod support;
|
|
pub mod user_roles;
|
|
pub mod external_roles;
|
|
pub mod verifications;
|
|
pub mod profile;
|