mirror of
https://github.com/wisplite/raster.git
synced 2026-05-01 06:32:44 -05:00
add thumbnail field to album model, update album retrieval to use POST method, and enhance album list component with dynamic fetching
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
|
||||
func RegisterAlbumRoutes(rg *gin.RouterGroup) {
|
||||
album := rg.Group("/albums")
|
||||
album.GET("/getAlbumsInParent", func(c *gin.Context) {
|
||||
album.POST("/getAlbumsInParent", func(c *gin.Context) {
|
||||
accessToken := c.GetHeader("Authorization")
|
||||
if accessToken == "" {
|
||||
c.JSON(http.StatusUnauthorized, gin.H{"error": "Unauthorized"})
|
||||
|
||||
Reference in New Issue
Block a user