update
This commit is contained in:
@@ -57,6 +57,6 @@ func SetDefaultRoutes(r *gin.Engine) {
|
||||
}
|
||||
photoAPI := albumAPI.Group("/:album/photo", context.PatchContext(middleware.VerifyToken), context.PatchContext(middleware.GetAlbumToNext))
|
||||
{
|
||||
photoAPI.GET("/", context.PatchContext(album.GetPhoto))
|
||||
photoAPI.GET("/", context.PatchContext(album.GetAlbumPhotos))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user