Better avatar and banner APIs

This commit is contained in:
2024-06-26 17:07:20 +08:00
parent d540e86603
commit 7e4ca530fa
9 changed files with 131 additions and 20 deletions

View File

@ -22,6 +22,8 @@ func MapAPIs(app *fiber.App) {
me := api.Group("/users/me").Name("Myself Operations")
{
me.Get("/avatar", getAvatar)
me.Get("/banner", getBanner)
me.Put("/avatar", setAvatar)
me.Put("/banner", setBanner)