mirror of
https://github.com/beego/bee.git
synced 2024-11-21 23:50:54 +00:00
Remove wrong consumer
This commit is contained in:
parent
2936241fe6
commit
ae1f1a9bf4
@ -678,7 +678,6 @@ func parserComments(f *ast.FuncDecl, controllerName, pkgpath string) error {
|
||||
opts.Produces = append(opts.Produces, ahtml)
|
||||
case "form":
|
||||
opts.Consumes = append(opts.Consumes, aform)
|
||||
opts.Consumes = append(opts.Consumes, ajson)
|
||||
}
|
||||
}
|
||||
} else if strings.HasPrefix(t, "@Security") {
|
||||
|
Loading…
Reference in New Issue
Block a user