aboutsummaryrefslogtreecommitdiffstats
path: root/license-generator/src/lib.rs
diff options
context:
space:
mode:
authorTeddy Wing2018-11-11 01:12:38 +0100
committerTeddy Wing2018-11-11 01:47:52 +0100
commite17cffd340476470546e5c27ff03fa134b6e2236 (patch)
tree01b7911843f72eca8116874e6a853734907e39dd /license-generator/src/lib.rs
parentf1c118535292fd7aba240713a4b869e00eaccc27 (diff)
downloaddome-key-web-e17cffd340476470546e5c27ff03fa134b6e2236.tar.bz2
main(): Get a map of POST params
Move the call to `params::parse()` from `request::verified()` into `main()`. This enables us to access values from POST params inside the `main()` function. We'll need this to store purchaser name and email address.
Diffstat (limited to 'license-generator/src/lib.rs')
-rw-r--r--license-generator/src/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/license-generator/src/lib.rs b/license-generator/src/lib.rs
index 407097a..f83dbbf 100644
--- a/license-generator/src/lib.rs
+++ b/license-generator/src/lib.rs
@@ -8,10 +8,9 @@ extern crate sha1;
extern crate url;
-mod params;
-
pub mod database;
pub mod errors;
+pub mod params;
pub mod purchaser;
pub mod request;
pub mod response;