Adding tests for adding votes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package models
|
||||
|
||||
type Vote struct {
|
||||
PollID int `json:"poll_id"`
|
||||
OptionIndex int `json:"option_index"`
|
||||
IsMember bool `json:"is_member"`
|
||||
PollId int64 `json:"poll_id"`
|
||||
Vote bool `json:"vote"`
|
||||
Email string `json:"email"`
|
||||
}
|
||||
Reference in New Issue
Block a user