Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add Update method. Other fixes.
  • Loading branch information
DiegoGalante committed Jun 17, 2022
commit 6086baa6ca0e8d3ebcf43c4cf42dd12590d95465
6 changes: 6 additions & 0 deletions AzureDevopsTracker/Services/AzureDevopsTrackerService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,9 @@ public async Task Create(string jsonText, bool addWorkItemChange = true)
return;

workItem.AddCustomFields(customFields);

_workItemRepository.Update(workItem);
await _workItemRepository.SaveChangesAsync();
}
catch
{ }
Expand All @@ -254,6 +257,9 @@ public async Task Update(string jsonText)
return;

workItem.UpdateCustomFields(customFields);

_workItemRepository.Update(workItem);
await _workItemRepository.SaveChangesAsync();
}
catch
{ }
Expand Down