From a8c8a4d2f2c82c1eb548686b02d39e2deb7010a2 Mon Sep 17 00:00:00 2001 From: or-else Date: Sat, 12 Jun 2021 14:25:34 -0700 Subject: [PATCH] fix for a typo --- server/db/common/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/db/common/common.go b/server/db/common/common.go index 02efe4cf9..c60523ffc 100644 --- a/server/db/common/common.go +++ b/server/db/common/common.go @@ -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 {