Skip to content

Commit

Permalink
fix: showing invalid poll result
Browse files Browse the repository at this point in the history
  • Loading branch information
jibon57 committed Oct 15, 2024
1 parent b0f3208 commit 21ed66d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/models/poll_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 21ed66d

Please sign in to comment.