diff --git a/src/main.go b/src/main.go index 74a5765..34b2719 100644 --- a/src/main.go +++ b/src/main.go @@ -147,6 +147,7 @@ func main() { r.GetImage("/", imageHandler.FindByPetId) r.PostImage("/", imageHandler.Upload) r.DeleteImage("/:id", imageHandler.Delete) + r.AssignPet("/assign", imageHandler.AssignPet) v1 := router.NewAPIv1(r, conf.App)