🚚 Move API path
This commit is contained in:
parent
c9d3de0022
commit
bfd0c5e469
@ -80,7 +80,7 @@ func NewServer() {
|
||||
channels.Delete("/:channelId", authMiddleware, deleteChannel)
|
||||
|
||||
channels.Get("/:channel/members", listChannelMembers)
|
||||
channels.Put("/:channel/members", authMiddleware, editChannelMembership)
|
||||
channels.Put("/:channel/members/me", authMiddleware, editChannelMembership)
|
||||
channels.Get("/:channel/members/me", authMiddleware, getMyChannelMembership)
|
||||
channels.Post("/:channel/members", authMiddleware, addChannelMember)
|
||||
channels.Post("/:channel/members/me", authMiddleware, joinChannel)
|
||||
|
Loading…
Reference in New Issue
Block a user