feat: token-authenticated approval API + structured webhook payload #4

Merged
oc merged 2 commits from feat/approve-api into main 2026-08-21 10:12:10 -07:00
3 changed files with 2 additions and 4 deletions
Showing only changes of commit 90ff337f7c - Show all commits
+2 -2
View File
@@ -65,7 +65,7 @@ fn main() {
if users.is_empty() {
println!("No users.");
} else {
println!("{:<20} {}", "Username", "Created");
println!("{:<20} Created", "Username");
println!("{}", "-".repeat(40));
for (u, c) in users {
println!("{:<20} {}", u, c);
@@ -115,7 +115,7 @@ fn main() {
if keys.is_empty() {
println!("No API keys.");
} else {
println!("{:<20} {}", "Label", "Created");
println!("{:<20} Created", "Label");
println!("{}", "-".repeat(40));
for (l, c) in keys {
println!("{:<20} {}", l, c);
-1
View File
@@ -1,7 +1,6 @@
use serde::Deserialize;
use std::fs;
#[allow(dead_code)]
#[derive(Debug, Deserialize, Clone)]
#[allow(dead_code)]
pub struct Config {
-1
View File
@@ -27,7 +27,6 @@ pub struct SubmitAction {
pub run_as: Option<String>,
}
#[allow(dead_code)]
#[derive(Debug, Serialize)]
#[allow(dead_code)]
pub struct ActionResult {