New check has new event exists api

This commit is contained in:
2024-11-16 22:26:23 +08:00
parent d9d6b81ac3
commit 461d4c0e70
2 changed files with 42 additions and 0 deletions

View File

@ -29,6 +29,7 @@ func MapAPIs(app *fiber.App, baseURL string) {
channels.Delete("/:channel/members/me", leaveChannel)
channels.Get("/:channel/events", listEvent)
channels.Get("/:channel/events/update", checkHasNewEvent)
channels.Get("/:channel/events/:eventId", getEvent)
channels.Post("/:channel/events", newRawEvent)