Skip to content

Commit 97eaefa

Browse files
committed
feat: add new fields to Record
1 parent 459397a commit 97eaefa

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

casvisorsdk/record.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,14 @@ type Record struct {
3636
Action string `xorm:"varchar(1000)" json:"action"`
3737
Language string `xorm:"varchar(100)" json:"language"`
3838

39-
Object string `xorm:"mediumtext" json:"object"`
40-
Response string `xorm:"mediumtext" json:"response"`
41-
StatusCode int `json:"statusCode"`
39+
Object string `xorm:"mediumtext" json:"object"`
40+
Response string `xorm:"mediumtext" json:"response"`
4241

4342
// ExtendedUser *User `xorm:"-" json:"extendedUser"`
4443

45-
IsTriggered bool `json:"isTriggered"`
44+
Provider string `xorm:"varchar(100)" json:"provider"`
45+
Block string `xorm:"varchar(100)" json:"block"`
46+
IsTriggered bool `json:"isTriggered"`
4647
}
4748

4849
func (c *Client) GetRecords() ([]*Record, error) {

0 commit comments

Comments
 (0)