testing changes

This commit is contained in:
areeqakbr 2025-02-18 14:57:50 +07:00
parent 4596e050b8
commit b5edc3b5aa
1 changed files with 1 additions and 3 deletions

View File

@ -18,13 +18,11 @@ type BackboneController struct {
func (bc *BackboneController) Route() {
rg := bc.rg.Group("/backbone")
rg.Use(middleware.AuthMiddleware())
{
rg.GET("", bc.GetBackbone())
rg.POST("", bc.CreateBackbone())
rg.GET("/:uuid", bc.GetBackboneByID())
rg.PUT("/:uuid", bc.UpdateBackbone())
}
}
func NewBackboneController(bu usecase.BackboneUseCase, rg *gin.RouterGroup) *BackboneController {