Skip to content

Commit

Permalink
fix validate
Browse files Browse the repository at this point in the history
Signed-off-by: Musilah <[email protected]>
  • Loading branch information
Musilah authored and dborovcanin committed Mar 4, 2024
1 parent c3cb417 commit 7e883f3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions readers/api/requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ func (req listMessagesReq) validate() error {
}

validAggregations := map[string]bool{
"MAX": true,
"MIN": true,
"AVG": true,
"SUM": true,
"MAX": true,
"MIN": true,
"AVG": true,
"SUM": true,
"COUNT": true,
"max": true,
"min": true,
"avg": true,
"sum": true,
"max": true,
"min": true,
"avg": true,
"sum": true,
"count": true,
}

Expand Down

0 comments on commit 7e883f3

Please sign in to comment.