Skip to content

Commit

Permalink
Add a route to get artists with api token
Browse files Browse the repository at this point in the history
  • Loading branch information
ebroda committed Feb 27, 2025
1 parent 216226a commit b685e6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions handlers/token/artist.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ func (i *ArtistHandler) Routes(group *echo.Group) {
group.Use(i.Context)
group.POST("", i.Create, accessCookie)
group.GET("", i.Get, accessCookie)
group.GET("/api_token", i.Get, vcago.KeyAuthMiddleware())
group.GET("/:id", i.GetByID, accessCookie)
group.PUT("", i.Update, accessCookie)
group.DELETE("/:id", i.Delete, accessCookie)
Expand Down

0 comments on commit b685e6c

Please sign in to comment.