Skip to content

Commit

Permalink
Merge pull request #239 from Viva-con-Agua/eb/add_artists_get_by_api_…
Browse files Browse the repository at this point in the history
…token

Add a route to get artists with api token
  • Loading branch information
deinelieblings authored Feb 27, 2025
2 parents 216226a + b685e6c commit ad5a1f5
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 ad5a1f5

Please sign in to comment.