transaction edit

This commit is contained in:
Fran Jurmanovic
2021-07-30 22:26:33 +02:00
parent 3c2cd4710f
commit 1297f48645
4 changed files with 88 additions and 2 deletions

View File

@@ -19,8 +19,8 @@ func NewSubscriptionController(as *services.SubscriptionService, s *gin.RouterGr
s.PUT("/end/:id", wc.End)
s.POST("", wc.New)
s.PUT("/:id", wc.Edit)
s.GET("", wc.GetAll)
s.GET("/:id", wc.Get)
s.GET("", wc.GetAll)
return wc
}