We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2a449b3 + 7cb9339 commit bb45146Copy full SHA for bb45146
1 file changed
model/move/sharing.go
@@ -70,6 +70,9 @@ func notifyMember(inst *instance.Instance, s *sharing.Sharing, index int) error
70
return err
71
}
72
73
+ if len(s.Credentials) == 0 {
74
+ return errors.New("sharing in invalid state")
75
+ }
76
clientID := s.Credentials[0].InboundClientID
77
if index > 0 {
78
clientID = s.Credentials[index-1].InboundClientID
0 commit comments