Skip to content

Commit

Permalink
Fix typo in function name.
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Feb 20, 2025
1 parent 2defef3 commit d3a417d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/subscribers.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func handleQuerySubscribers(c echo.Context) error {
)

// Filter list IDs by permission.
listIDs, err := filterListQeryByPerm(c.QueryParams(), user, app)
listIDs, err := filterListQueryByPerm(c.QueryParams(), user, app)
if err != nil {
return err
}
Expand Down Expand Up @@ -136,7 +136,7 @@ func handleExportSubscribers(c echo.Context) error {
)

// Filter list IDs by permission.
listIDs, err := filterListQeryByPerm(c.QueryParams(), user, app)
listIDs, err := filterListQueryByPerm(c.QueryParams(), user, app)
if err != nil {
return err
}
Expand Down Expand Up @@ -710,7 +710,7 @@ func hasSubPerm(u models.User, subIDs []int, app *App) error {
return nil
}

func filterListQeryByPerm(qp url.Values, user models.User, app *App) ([]int, error) {
func filterListQueryByPerm(qp url.Values, user models.User, app *App) ([]int, error) {
var listIDs []int

// If there are incoming list query params, filter them by permission.
Expand Down

0 comments on commit d3a417d

Please sign in to comment.