Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Yatish Mehta committed Mar 20, 2022
1 parent a714551 commit 2648333
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cmd/subscribers.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func handleQuerySubscribers(c echo.Context) error {
out = subsWrap{Results: make([]models.Subscriber, 0, 1)}
)

// Limit the subscribers to sepcific lists?
// Limit the subscribers to specific lists?
listIDs, err := getQueryInts("list_id", c.QueryParams())
if err != nil {
return echo.NewHTTPError(http.StatusBadRequest, app.i18n.T("globals.messages.invalidID"))
Expand Down Expand Up @@ -198,7 +198,7 @@ func handleExportSubscribers(c echo.Context) error {
query = sanitizeSQLExp(c.FormValue("query"))
)

// Limit the subscribers to sepcific lists?
// Limit the subscribers to specific lists?
listIDs, err := getQueryInts("list_id", c.QueryParams())
if err != nil {
return echo.NewHTTPError(http.StatusBadRequest, app.i18n.T("globals.messages.invalidID"))
Expand Down Expand Up @@ -591,7 +591,7 @@ func handleBlocklistSubscribersByQuery(c echo.Context) error {
return c.JSON(http.StatusOK, okResp{true})
}

// handleManageSubscriberListsByQuery bulk adds/removes/unsubscribers subscribers
// handleManageSubscriberListsByQuery bulk adds/removes/unsubscribes subscribers
// from one or more lists based on an arbitrary SQL expression.
func handleManageSubscriberListsByQuery(c echo.Context) error {
var (
Expand Down
2 changes: 1 addition & 1 deletion internal/i18n/i18n.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// i18n is a simple package that translates strings using a language map.
// It mimicks some functionality of the vue-i18n library so that the same JSON
// It mimics some functionality of the vue-i18n library so that the same JSON
// language map may be used in the JS frontend and the Go backend.
package i18n

Expand Down

0 comments on commit 2648333

Please sign in to comment.