Implemented pushsubscriptionchange
This commit is contained in:
17
pages/me/me.go
Normal file
17
pages/me/me.go
Normal file
@ -0,0 +1,17 @@
|
||||
package me
|
||||
|
||||
import (
|
||||
"github.com/aerogo/aero"
|
||||
"github.com/animenotifier/notify.moe/utils"
|
||||
)
|
||||
|
||||
// Get ...
|
||||
func Get(ctx *aero.Context) string {
|
||||
user := utils.GetUser(ctx)
|
||||
|
||||
if user == nil {
|
||||
return ctx.JSON(nil)
|
||||
}
|
||||
|
||||
return ctx.JSON(user)
|
||||
}
|
Reference in New Issue
Block a user