add delete album
This commit is contained in:
1 parent
0da02160f0
commit
1b8416dba3
3 files changed
+47
-5
No files matched your search
@@ -53,5 +53,6 @@ func SetDefaultRoutes(r *gin.Engine) {
|
||||
albumAPI.POST("/", context.PatchContext(album.CreateAlbum))
|
||||
albumAPI.GET("/:id", context.PatchContext(album.GetAlbum))
|
||||
albumAPI.PUT("/:id", context.PatchContext(album.UpdateAlbum))
|
||||
albumAPI.DELETE("/:id", context.PatchContext(album.DeleteAlbum))
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user