Added anime list deletion
This commit is contained in:
@ -6,6 +6,7 @@ import (
|
||||
"github.com/aerogo/aero"
|
||||
"github.com/animenotifier/notify.moe/arn"
|
||||
"github.com/animenotifier/notify.moe/pages/animeimport"
|
||||
"github.com/animenotifier/notify.moe/pages/animelist"
|
||||
"github.com/animenotifier/notify.moe/pages/apiview"
|
||||
"github.com/animenotifier/notify.moe/pages/apiview/apidocs"
|
||||
"github.com/animenotifier/notify.moe/pages/character"
|
||||
@ -57,6 +58,9 @@ func Register(app *aero.Application) {
|
||||
// SoundTrack
|
||||
app.Post("/api/soundtrack/:id/download", soundtrack.Download)
|
||||
|
||||
// AnimeList
|
||||
app.Post("/api/delete/animelist", animelist.Delete)
|
||||
|
||||
// Upload
|
||||
app.Post("/api/upload/user/image", upload.UserImage)
|
||||
app.Post("/api/upload/user/cover", upload.UserCover)
|
||||
|
@ -49,6 +49,9 @@ func Register(app *aero.Application) {
|
||||
page.Get(app, "/animelist/hold", animelist.Redirect)
|
||||
page.Get(app, "/animelist/dropped", animelist.Redirect)
|
||||
|
||||
// Delete
|
||||
page.Get(app, "/animelist/delete", animelist.DeleteConfirmation)
|
||||
|
||||
// Compare
|
||||
page.Get(app, "/compare/animelist/:nick-1/:nick-2", compare.AnimeList)
|
||||
|
||||
|
Reference in New Issue
Block a user