File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -3847,6 +3847,7 @@ func GetPollInfo(param Params) map[string]interface{} {
38473847 StartTime uint64 `json:"startTime"`
38483848 EndTime uint64 `json:"endTime"`
38493849 Choices []string `json:"choices"`
3850+ Url string `json:"url"`
38503851 }
38513852 votings := Chain .GetState ().GetAllInitateVotings ()
38523853 idsMap := make (map [string ]struct {})
@@ -3870,6 +3871,7 @@ func GetPollInfo(param Params) map[string]interface{} {
38703871 StartTime : v .StartTime ,
38713872 EndTime : v .EndTime ,
38723873 Choices : v .Choices ,
3874+ Url : v .Url ,
38733875 })
38743876 }
38753877 }
@@ -3903,6 +3905,7 @@ func GetPollDetails(param Params) map[string]interface{} {
39033905 StartTime uint64 `json:"startTime"`
39043906 EndTime uint64 `json:"endTime"`
39053907 Choices []string `json:"choices"`
3908+ Url string `json:"url"`
39063909 Votes []VoteInfo `json:"votes"`
39073910 }
39083911
@@ -3931,6 +3934,7 @@ func GetPollDetails(param Params) map[string]interface{} {
39313934 StartTime : voting .StartTime ,
39323935 EndTime : voting .EndTime ,
39333936 Choices : voting .Choices ,
3937+ Url : voting .Url ,
39343938 Votes : votes ,
39353939 })
39363940}
You can’t perform that action at this time.
0 commit comments