Skip to content

Commit

Permalink
Bring back message search
Browse files Browse the repository at this point in the history
  • Loading branch information
AchoArnold committed Jan 19, 2025
1 parent 200f6db commit 199e209
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions api/pkg/handlers/message_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -492,9 +492,6 @@ func (h *MessageHandler) Search(c *fiber.Ctx) error {
return h.responseBadRequest(c, err)
}

ctxLogger.Info(fmt.Sprintf("searching messages with URL [%s] and params [%+#v]", c.OriginalURL(), request))
return h.responseForbidden(c)

if errors := h.validator.ValidateMessageSearch(ctx, request.Sanitize()); len(errors) != 0 {
msg := fmt.Sprintf("validation errors [%s], while searching messages [%+#v]", spew.Sdump(errors), request)
ctxLogger.Warn(stacktrace.NewError(msg))
Expand Down

0 comments on commit 199e209

Please sign in to comment.