Skip to content

Commit 17cebbb

Browse files
committed
opt
1 parent 81777ce commit 17cebbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/userservice.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ func QueryMyGroups(ctx context.Context, limit int64, offset string) (errs.IMErro
213213
Items: []*apimodels.Group{},
214214
}
215215
for _, group := range groups {
216-
ret.Offset, _ = utils.EncodeInt(group.ID)
216+
ret.Offset, err = utils.EncodeInt(group.ID)
217217
if err == nil {
218218
ret.Items = append(ret.Items, &apimodels.Group{
219219
GroupId: group.GroupId,

0 commit comments

Comments
 (0)