Basic browser extension support

This commit is contained in:
2017-06-24 21:07:45 +02:00
parent 932ed7c165
commit 7e92409758
10 changed files with 75 additions and 6 deletions

View File

@ -21,7 +21,7 @@ func Get(ctx *aero.Context) string {
animeList := viewUser.AnimeList()
if animeList == nil {
return ctx.Error(http.StatusNotFound, "Anime list not found", err)
return ctx.Error(http.StatusNotFound, "Anime list not found", nil)
}
sort.Slice(animeList.Items, func(i, j int) bool {