Fix POST routes without input

This commit is contained in:
Nise Void 2018-10-16 18:26:06 +02:00
parent 6eeb6b9321
commit 3131ac9efb
Signed by untrusted user: NiseVoid
GPG Key ID: FBA14AC83EA602F3

View File

@ -15,7 +15,7 @@ type route struct {
}
// Handle handles a request
type Handle func(*Context) error
type Handle = func(*Context) error
// ErrorHandle handles a request
type ErrorHandle func(*Context, interface{})