Skip to content

Commit

Permalink
cicd: bump League Patch (openimsdk#2117)
Browse files Browse the repository at this point in the history
  • Loading branch information
kubbot authored Mar 19, 2024
1 parent 8f21805 commit c69522b
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 4 deletions.
14 changes: 14 additions & 0 deletions .github/code-language-detector.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright © 2024 OpenIM. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

directory: ./
file_types:
- .go
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/code-language-detector.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright © 2024 OpenIM. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: Language Check Workflow Test

on: [pull_request]
Expand Down
2 changes: 1 addition & 1 deletion internal/rpc/friend/black.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (s *friendServer) AddBlack(ctx context.Context, req *pbfriend.AddBlackReq)
CreateTime: time.Now(),
Ex: req.Ex,
}

if err := s.blackDatabase.Create(ctx, []*relation.BlackModel{&black}); err != nil {
return nil, err
}
Expand Down
2 changes: 1 addition & 1 deletion internal/rpc/group/group.go
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ func (s *groupServer) GetGroupMembersInfo(ctx context.Context, req *pbgroup.GetG
return resp, nil
}

// GetGroupApplicationList handles functions that get a list of group requests
// GetGroupApplicationList handles functions that get a list of group requests.
func (s *groupServer) GetGroupApplicationList(ctx context.Context, req *pbgroup.GetGroupApplicationListReq) (*pbgroup.GetGroupApplicationListResp, error) {
groupIDs, err := s.db.FindUserManagedGroupID(ctx, req.FromUserID)
if err != nil {
Expand Down
3 changes: 1 addition & 2 deletions pkg/common/db/mgo/group.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ import (
"time"

"github.com/OpenIMSDK/protocol/constant"

"github.com/OpenIMSDK/tools/errs"
"github.com/OpenIMSDK/tools/errs"
"github.com/OpenIMSDK/tools/mgoutil"
"github.com/OpenIMSDK/tools/pagination"
"github.com/openimsdk/open-im-server/v3/pkg/common/db/table/relation"
Expand Down

0 comments on commit c69522b

Please sign in to comment.