From 6d0caa1cdefc69709f6074d9202de68f83bc335a Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sun, 23 Feb 2025 18:27:55 +0800 Subject: [PATCH] :bug: Provide backwards compability on APIs --- pkg/internal/http/api/index.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/internal/http/api/index.go b/pkg/internal/http/api/index.go index 57544f3..bd2f5f1 100644 --- a/pkg/internal/http/api/index.go +++ b/pkg/internal/http/api/index.go @@ -23,6 +23,7 @@ func MapAPIs(app *fiber.App, baseURL string) { channels.Get("/me/available", listAvailableChannel) channels.Get("/:channel", getChannel) channels.Get("/:channel/me", getChannelIdentity) + channels.Get("/:channel/members/me", getChannelIdentity) channels.Put("/:channel/me", editChannelIdentity) channels.Put("/:channel/me/notify", editChannelNotifyLevel) channels.Delete("/:channel/me", deleteChannelIdentity)