Stack
C:/Program Files/Go/src/runtime/panic.go:914 C:/Program Files/Go/src/runtime/panic.go:261 C:/Program Files/Go/src/runtime/signal_windows.go:364 C:/github_repos/c_d/controllers/application.go:114 C:/Program Files/Go/src/reflect/value.go:596 C:/Program Files/Go/src/reflect/value.go:380 C:/GoPath/pkg/mod/github.com/beego/beego@v1.12.12/router.go:897 C:/Program Files/Go/src/net/http/server.go:2938 C:/Program Files/Go/src/net/http/server.go:2009 C:/Program Files/Go/src/runtime/asm_amd64.s:1650
Hello,
When I was testing the different ways to obtain a single user, I figured out that the owner was being passed into the request. This caused the responses to be HTML error pages by Beego.
According to the PR, the owner does not need to be passed in.
I removed the owner parameter and added the accompanying tests