Skip to content

Commit

Permalink
fix: lint error.
Browse files Browse the repository at this point in the history
  • Loading branch information
kehiy committed Jan 10, 2025
1 parent fbae6fa commit c0e962b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions delivery/websocket/event_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ func (s *Server) handleEvent(conn *websocket.Conn, m message.Message) {
}

func checkLimitations(c clientState, r *redis.Redis,
limits Limitation, msg message.Event) (accepted bool, isAuthFail bool,
failType string, resp string,
limits Limitation, msg message.Event) (bool, bool,
string, string,
) {
if limits.AuthRequired && !*c.isKnown {
return false, true, authFail, "auth-required: we only accept events from authenticated users."
Expand Down

0 comments on commit c0e962b

Please sign in to comment.