Skip to content

Commit

Permalink
fix for a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Jun 12, 2021
1 parent 1087ab3 commit a8c8a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/db/common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
t "github.com/tinode/chat/server/store/types"
)

// SelectEarliestUpdatedSubs selects no more than the given umber of subscriptions from the
// SelectEarliestUpdatedSubs selects no more than the given number of subscriptions from the
// given slice satisfying the query. When the number of subscriptions is greater than the limit,
// the subscriptions with the earliest timestamp are selected.
func SelectEarliestUpdatedSubs(subs []t.Subscription, opts *t.QueryOpt, maxResults int) []t.Subscription {
Expand Down

0 comments on commit a8c8a4d

Please sign in to comment.