add: create new comment if annotation was added localy

This commit is contained in:
2023-10-30 20:10:04 +01:00
parent 46762c4044
commit 6f01bebe9a
2 changed files with 36 additions and 14 deletions

View File

@@ -56,8 +56,6 @@ func (task *Task) AppendComment(comment_id int, description string, time time.Ti
}
func NewTask(description string, project string, git_number uint, git_type Type, tags ...string) Task {
// TODO: update task struct to include the new user defined value, which shall
// also be provided as an argument
return Task{
Project: project,
Description: description,