change api endpoint routes

This commit is contained in:
zardzul
2026-03-13 21:41:00 +01:00
parent d98b8cce3e
commit 82e1b51d38
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ func NewArtistHandler(repo repository.ArtistRepository) *ArtistHandler {
// @Produce json
// @Success 200 {array} map[string]interface{}
// @Failure 500 {object} ErrorResponse
// @Router /artist/getAll [get]
// @Router /api/v1/artists [get]
func (handler *ArtistHandler) GetAll(c *gin.Context) {
artists, err := handler.repo.GetAll(c.Request.Context())
if err != nil {