Started working on Kitsu import
This commit is contained in:
19
pages/animeimport/animeimport.go
Normal file
19
pages/animeimport/animeimport.go
Normal file
@ -0,0 +1,19 @@
|
||||
package animeimport
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/aerogo/aero"
|
||||
)
|
||||
|
||||
// Kitsu anime import.
|
||||
func Kitsu(ctx *aero.Context) string {
|
||||
// id := ctx.Get("id")
|
||||
// user := utils.GetUser(ctx)
|
||||
|
||||
if true {
|
||||
return ctx.Error(http.StatusUnauthorized, "Not authorized", nil)
|
||||
}
|
||||
|
||||
return ""
|
||||
}
|
Reference in New Issue
Block a user