diff --git a/pkg/models/poll_info.go b/pkg/models/poll_info.go index 83abe41b..1517ce04 100644 --- a/pkg/models/poll_info.go +++ b/pkg/models/poll_info.go @@ -101,7 +101,7 @@ func (m *PollModel) GetResponsesResult(roomId, pollId string) (*plugnmeet.PollRe if err != nil { return nil, err } - if result != nil { + if result == nil { return nil, nil }