added contact suggestion route, code refactor
This commit is contained in:
@@ -25,4 +25,5 @@ func SetupRoutes(app *fiber.App) {
|
||||
contacts.Delete("/:contact_id/:conversation_id", handlers.DeleteContact)
|
||||
contacts.Post("/:contact_username", handlers.InsertContact)
|
||||
contacts.Get("/", handlers.GetContacts)
|
||||
contacts.Get("/suggestions/:contactUsername", handlers.GetContactSuggestions)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user