diff options
author | Teddy Wing | 2018-11-11 01:38:00 +0100 |
---|---|---|
committer | Teddy Wing | 2018-11-11 01:47:54 +0100 |
commit | f21e06fa26880166ec4df467ee4723503dfbad55 (patch) | |
tree | 71d3abac51ef0e46deb652b821176325e9919997 /license-generator/src/database.rs | |
parent | e17cffd340476470546e5c27ff03fa134b6e2236 (diff) | |
download | dome-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