From 61c8e8a826b036b667755125636e9f9673997887 Mon Sep 17 00:00:00 2001 From: Quang Le Date: Tue, 21 Jan 2025 15:18:54 +0700 Subject: [PATCH] Add new route for notifying top memo authors in v1 routes --- pkg/routes/v1_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/routes/v1_test.go b/pkg/routes/v1_test.go index 5834588d..9aade63d 100644 --- a/pkg/routes/v1_test.go +++ b/pkg/routes/v1_test.go @@ -693,6 +693,12 @@ func Test_loadV1Routes(t *testing.T) { Handler: "github.com/dwarvesf/fortress-api/pkg/handler/discord.IHandler.NotifyWeeklyMemos-fm", }, }, + "/cronjobs/notify-top-memo-authors": { + "POST": { + Method: "POST", + Handler: "github.com/dwarvesf/fortress-api/pkg/handler/discord.IHandler.NotifyTopMemoAuthors-fm", + }, + }, "/cronjobs/transcribe-youtube-broadcast": { "POST": { Method: "POST",