fix(gitea-api): authorize for issues in private repositories / organizations

This also fixes an issue with the taskwarrior filters to not overwrite
existing other tasks from other repositories.
This commit is contained in:
2023-10-27 16:42:33 +02:00
parent 489faae58b
commit aae91aa4e7
6 changed files with 48 additions and 28 deletions

View File

@@ -113,7 +113,6 @@ func GetTasks(filter Filter) ([]Task, error) {
}
var tasks []Task
decoder := json.NewDecoder(bytes.NewBuffer(out))
decoder.DisallowUnknownFields()
if err = decoder.Decode(&tasks); err != nil {
return nil, err
}