implemented new error handler, added getContacts route
This commit is contained in:
@@ -24,4 +24,5 @@ func SetupRoutes(app *fiber.App) {
|
||||
contacts := chat.Group("/contacts", middleware.Protected(), logger.New())
|
||||
contacts.Delete("/:contact_id/:conversation_id", handlers.DeleteContact)
|
||||
contacts.Post("/:contact_username", handlers.InsertContact)
|
||||
contacts.Get("/", handlers.GetContacts)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user