Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion grpc_api/cc_agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"strconv"
"strings"

"github.com/golang/protobuf/ptypes/wrappers"

Check failure on line 10 in grpc_api/cc_agent.go

View workflow job for this annotation

GitHub Actions / Checks / Lint code

import 'github.com/golang/protobuf/ptypes/wrappers' is not allowed from list 'main': use google.golang.org/protobuf instead (depguard)

"github.com/webitel/engine/gen/engine"
"github.com/webitel/engine/model"
Expand Down Expand Up @@ -417,7 +417,7 @@
}

err = api.ctrl.LoginAgentFromRequest(ctx, session, &model.AgentLoginRequest{
AgentID: agentId,
AgentID: in.GetId(),
OnDemand: in.GetOnDemand(),
OnlineStatus: onlineStatus,
DomainID: cmp.Or(in.GetDomainId(), session.Domain(0)),
Expand Down
1 change: 1 addition & 0 deletions model/cc_agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ type UserStatus struct {

type SearchUserStatus struct {
ListRequest

NotUserIds []int64
}

Expand Down
Loading