summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/handlers.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/handlers.rs b/src/handlers.rs
index b3a6fa8..7135190 100644
--- a/src/handlers.rs
+++ b/src/handlers.rs
@@ -194,17 +194,6 @@ pub async fn authenticate_user(
194 Ok(warp::reply::with_status(res_json, StatusCode::CREATED)) 194 Ok(warp::reply::with_status(res_json, StatusCode::CREATED))
195} 195}
196 196
197// fn shed_pem_header_footer(maybe_key: String) -> Result<Vec<u8>, String> {
198// let der_encoded = maybe_key
199// .lines()
200// .filter(|line| !line.starts_with("-"))
201// .fold(String::new(), |mut data, line| {
202// data.push_str(&line);
203// data
204// });
205// Ok(base64::decode(&der_encoded).expect("failed to decode base64 content"))
206// }
207
208/// GET /transaction 197/// GET /transaction
209/// Returns JSON array of transactions 198/// Returns JSON array of transactions
210/// Cannot fail 199/// Cannot fail