Skip to content

Commit ad65a60

Browse files
committed
fix: todolistid is empty
1 parent aa968bb commit ad65a60

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

internal/pkg/plugin/trellogithub/create.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ func Create(options map[string]interface{}) (map[string]interface{}, error) {
1919

2020
trelloItemId := &TrelloItemId{
2121
boardId: tg.options.BoardId,
22-
todoListId: tg.options.todoListId,
23-
doingListId: tg.options.doingListId,
24-
doneListId: tg.options.doneListId,
22+
todoListId: tg.options.TodoListId,
23+
doingListId: tg.options.DoingListId,
24+
doneListId: tg.options.DoneListId,
2525
}
2626

2727
if err := tg.AddTrelloIdSecret(trelloItemId); err != nil {

internal/pkg/plugin/trellogithub/update.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ func Update(options map[string]interface{}) (map[string]interface{}, error) {
2525

2626
trelloItemId := &TrelloItemId{
2727
boardId: tg.options.BoardId,
28-
todoListId: tg.options.todoListId,
29-
doingListId: tg.options.doingListId,
30-
doneListId: tg.options.doneListId,
28+
todoListId: tg.options.TodoListId,
29+
doingListId: tg.options.DoingListId,
30+
doneListId: tg.options.DoneListId,
3131
}
3232

3333
if err := tg.AddTrelloIdSecret(trelloItemId); err != nil {

internal/pkg/plugin/trellogithub/workflow.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type Options struct {
2222
Repo string
2323
Branch string
2424
BoardId string
25-
todoListId string
26-
doingListId string
27-
doneListId string
25+
TodoListId string
26+
DoingListId string
27+
DoneListId string
2828
}

0 commit comments

Comments
 (0)