aboutsummaryrefslogtreecommitdiffstats
path: root/license-generator/src/database.rs
diff options
context:
space:
mode:
authorTeddy Wing2018-11-11 01:38:00 +0100
committerTeddy Wing2018-11-11 01:47:54 +0100
commitf21e06fa26880166ec4df467ee4723503dfbad55 (patch)
tree71d3abac51ef0e46deb652b821176325e9919997 /license-generator/src/database.rs
parente17cffd340476470546e5c27ff03fa134b6e2236 (diff)
downloaddome-key-web-f21e06fa26880166ec4df467ee4723503dfbad55.tar.bz2
main(): Insert purchaser into datatabase (WIP)
This currently errors on a borrow problem with the `cx` in the closure. Here we get the purchaser name and email from the POST params and insert them as a record in the database. If all goes well, we respond with a 200. Otherwise we log errors and respond with 500.
Diffstat (limited to 'license-generator/src/database.rs')
0 files changed, 0 insertions, 0 deletions