🐛 Bug fixes

This commit is contained in:
LittleSheep 2024-04-06 01:40:48 +08:00
parent e50a338378
commit 3a323d5fd5

View File

@ -91,6 +91,7 @@ func NewServer() {
{
friends.Get("/", authMiddleware, listFriendship)
friends.Get("/:relatedId", authMiddleware, getFriendship)
friends.Post("/", authMiddleware, makeFriendship)
friends.Post("/:relatedId", authMiddleware, makeFriendship)
friends.Put("/:relatedId", authMiddleware, editFriendship)
friends.Delete("/:relatedId", authMiddleware, deleteFriendship)