tools: add todo to gen_vc

pull/5364/head
joe-conigliaro 2020-06-12 23:10:22 +10:00
parent b13c95ea48
commit 0838080fcd
No known key found for this signature in database
GPG Key ID: C12F7136C08206F1
1 changed files with 4 additions and 0 deletions

View File

@ -166,6 +166,10 @@ pub fn (mut ws WebhookServer) init() {
// gen webhook
pub fn (mut ws WebhookServer) genhook() {
// request data
// println(ws.vweb.req.data)
// TODO: parse request. json or urlencoded
// json.decode or net.urllib.parse
ws.gen_vc.generate()
// error in generate
if ws.gen_vc.gen_error {