🐛 Bug fixes
This commit is contained in:
parent
e50a338378
commit
3a323d5fd5
@ -91,6 +91,7 @@ func NewServer() {
|
|||||||
{
|
{
|
||||||
friends.Get("/", authMiddleware, listFriendship)
|
friends.Get("/", authMiddleware, listFriendship)
|
||||||
friends.Get("/:relatedId", authMiddleware, getFriendship)
|
friends.Get("/:relatedId", authMiddleware, getFriendship)
|
||||||
|
friends.Post("/", authMiddleware, makeFriendship)
|
||||||
friends.Post("/:relatedId", authMiddleware, makeFriendship)
|
friends.Post("/:relatedId", authMiddleware, makeFriendship)
|
||||||
friends.Put("/:relatedId", authMiddleware, editFriendship)
|
friends.Put("/:relatedId", authMiddleware, editFriendship)
|
||||||
friends.Delete("/:relatedId", authMiddleware, deleteFriendship)
|
friends.Delete("/:relatedId", authMiddleware, deleteFriendship)
|
||||||
|
Loading…
Reference in New Issue
Block a user