pub async fn fetch_pending(
pool: Data<PgPool>,
query: Query<RoleQuery>,
user: AuthUser,
) -> ControllerResult<Json<Vec<PendingRole>>>
Expand description
- GET /api/v0/main-frontend/roles - Get all pending roles for the given domain.
pub async fn fetch_pending(
pool: Data<PgPool>,
query: Query<RoleQuery>,
user: AuthUser,
) -> ControllerResult<Json<Vec<PendingRole>>>