🐛 Fix conflict on endpoints
This commit is contained in:
parent
cb0fefecfb
commit
24395b698e
@ -46,7 +46,7 @@ func MapAPIs(app *fiber.App, baseURL string) {
|
|||||||
{
|
{
|
||||||
relations.Get("/", listRelationship)
|
relations.Get("/", listRelationship)
|
||||||
relations.Get("/:relatedId", getRelationship)
|
relations.Get("/:relatedId", getRelationship)
|
||||||
relations.Put("/:relatedId", editRelationship)
|
relations.Patch("/:relatedId", editRelationship)
|
||||||
relations.Delete("/:relatedId", deleteRelationship)
|
relations.Delete("/:relatedId", deleteRelationship)
|
||||||
|
|
||||||
relations.Post("/", makeFriendship)
|
relations.Post("/", makeFriendship)
|
||||||
|
Loading…
Reference in New Issue
Block a user