feat(api): delete template endpoint

This commit is contained in:
Leons Aleksandrovs
2025-07-13 14:26:09 +03:00
parent fa095def44
commit e969d56ab6
4 changed files with 45 additions and 3 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ func SetupRoutes() *gin.Engine {
templates.GET("/:id", template.GetID)
templates.POST("", template.Create)
templates.PUT("/:id", template.Put)
// DELETE (Delete)
templates.DELETE("/:id", template.Delete)
// Cover letter routes
covers := auth.Group("/cover")