Started working on Kitsu import

This commit is contained in:
2018-03-18 21:41:13 +01:00
parent 180c5b475b
commit 771e6b026c
4 changed files with 43 additions and 1 deletions

View 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 ""
}