1
0

fix: importing trello attachments

Since jan 2021, trello requires authentication to access attachments. This commit passes the required auth headers to make downloading card attachments work.

resolves https://github.com/go-vikunja/api/issues/6
This commit is contained in:
kolaente
2021-11-14 21:47:51 +01:00
parent 57e5d10eee
commit c3e0e6405a
3 changed files with 21 additions and 4 deletions

View File

@ -359,7 +359,7 @@ func TestConvertTrelloToVikunja(t *testing.T) {
},
}
hierachie, err := convertTrelloDataToVikunja(trelloData)
hierachie, err := convertTrelloDataToVikunja(trelloData, "")
assert.NoError(t, err)
assert.NotNil(t, hierachie)
if diff, equal := messagediff.PrettyDiff(hierachie, expectedHierachie); !equal {