Fix setting a list identifier to empty
This commit is contained in:
parent
5a86f44fc3
commit
8a01b20e1e
1 changed files with 1 additions and 3 deletions
|
@ -431,13 +431,11 @@ func CreateOrUpdateList(list *List) (err error) {
|
|||
colsToUpdate := []string{
|
||||
"title",
|
||||
"is_archived",
|
||||
"identifier",
|
||||
}
|
||||
if list.Description != "" {
|
||||
colsToUpdate = append(colsToUpdate, "description")
|
||||
}
|
||||
if list.Identifier != "" {
|
||||
colsToUpdate = append(colsToUpdate, "identifier")
|
||||
}
|
||||
if list.HexColor != "" {
|
||||
colsToUpdate = append(colsToUpdate, "hex_color")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue