From 21ed66dc367a76f592815718d6a545777ccec85d Mon Sep 17 00:00:00 2001 From: "Jibon L. Costa" Date: Tue, 15 Oct 2024 21:59:02 +0200 Subject: [PATCH] fix: showing invalid poll result --- pkg/models/poll_info.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }