diff --git a/api.go b/api.go index d28f4899..dd755d0a 100644 --- a/api.go +++ b/api.go @@ -2,11 +2,10 @@ package main import ( "sort" - "strconv" "strings" "time" - "github.com/aerojs/aero" + "github.com/aerogo/aero" "github.com/animenotifier/arn" ) @@ -27,7 +26,7 @@ func init() { }) app.Get("/api/anime/:id", func(ctx *aero.Context) string { - id, _ := strconv.Atoi(ctx.Get("id")) + id, _ := ctx.GetInt("id") anime, err := arn.GetAnime(id) if err != nil { diff --git a/app.go b/app.go index 1056bad0..34de8ce2 100644 --- a/app.go +++ b/app.go @@ -3,7 +3,7 @@ package main import ( "io/ioutil" - "github.com/aerojs/aero" + "github.com/aerogo/aero" ) var app = aero.New() diff --git a/router.go b/router.go index cde06f6a..a819e472 100644 --- a/router.go +++ b/router.go @@ -3,7 +3,7 @@ package main import ( "strconv" - "github.com/aerojs/aero" + "github.com/aerogo/aero" "github.com/animenotifier/arn" )