feat(api): get cover letters with api

This commit is contained in:
Leons Aleksandrovs
2025-07-12 16:38:40 +03:00
parent 6736607421
commit ad822f3abc
4 changed files with 63 additions and 6 deletions
+2
View File
@@ -32,6 +32,8 @@ func SetupRoutes() *gin.Engine {
// Cover letter routes
covers := auth.Group("/cover")
covers.GET("", cover.Get)
covers.GET("/:id", cover.GetID)
covers.POST("", cover.Post)
return r