diff --git a/api/routes.go b/api/routes.go index da34a801e..8383735c5 100644 --- a/api/routes.go +++ b/api/routes.go @@ -78,7 +78,7 @@ func addRoutes(r *gin.Engine, conf Configuration, uc usecases.Usecases, auth Aut router.GET("/sanction-checks", tom, handleListSanctionChecks(uc)) router.PATCH("/sanction-checks/matches/:id", tom, handleUpdateSanctionCheckMatchStatus(uc)) - router.POST("/sanction-checks/matches/:id/comment", tom, + router.POST("/sanction-checks/matches/:id/comments", tom, handleCreateSanctionCheckMatchComment(uc)) router.GET("/sanction-checks/matches/:id/comments", tom, handleListSanctionCheckMatchComments(uc))