1
0

Fixed returning of user infos when updating a todo item

This commit is contained in:
kolaente
2018-06-13 12:18:55 +02:00
parent b11a6b912e
commit 0652125c25
6 changed files with 14 additions and 11 deletions

View File

@ -8,7 +8,7 @@ type ListItem struct {
Done bool `json:"done"`
DueDateUnix int64 `xorm:"int(11)" json:"dueDate"`
ReminderUnix int64 `xorm:"int(11)" json:"reminderDate"`
CreatedByID int64 `xorm:"int(11)" json:"createdByID"` // ID of the user who put that item on the list
CreatedByID int64 `xorm:"int(11)" json:"-"` // ID of the user who put that item on the list
ListID int64 `xorm:"int(11)" json:"listID"`
Created int64 `xorm:"created" json:"created"`
Updated int64 `xorm:"updated" json:"updated"`