Commit fa665dc5 authored by zauberstuhl's avatar zauberstuhl

Fix aspect typo; personID instead of personId

parent 48186b46
......@@ -102,7 +102,7 @@ func (a ApiAspect) Index() revel.Result {
func (a ApiAspect) Create() revel.Result {
name := a.Params.Get("name")
personID, err := strconv.ParseUint(
a.Params.Get("personId"), 0, 64)
a.Params.Get("personID"), 0, 64)
if err != nil {
revel.ERROR.Println(err)
return a.RenderError(err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment