🐛 Trying to fix leave channel

This commit is contained in:
2025-02-21 23:05:28 +08:00
parent 47aa2ae755
commit fabda61822
2 changed files with 27 additions and 44 deletions

View File

@@ -31,7 +31,6 @@ func MapAPIs(app *fiber.App, baseURL string) {
channels.Put("/:channel/members/me", editChannelProfileOfMyself)
channels.Put("/:channel/members/me/notify", editChannelNotifyLevelOfMyself)
channels.Post("/:channel/members", addChannelMember)
channels.Delete("/:channel/members/me", leaveChannel)
channels.Delete("/:channel/members/:memberId", removeChannelMember)
channels.Get("/:channel/events", listEvent)