Skip to content

Commit 6086baa

Browse files
committed
Add Update method. Other fixes.
1 parent 934b82e commit 6086baa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

AzureDevopsTracker/Services/AzureDevopsTrackerService.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,9 @@ public async Task Create(string jsonText, bool addWorkItemChange = true)
233233
return;
234234

235235
workItem.AddCustomFields(customFields);
236+
237+
_workItemRepository.Update(workItem);
238+
await _workItemRepository.SaveChangesAsync();
236239
}
237240
catch
238241
{ }
@@ -254,6 +257,9 @@ public async Task Update(string jsonText)
254257
return;
255258

256259
workItem.UpdateCustomFields(customFields);
260+
261+
_workItemRepository.Update(workItem);
262+
await _workItemRepository.SaveChangesAsync();
257263
}
258264
catch
259265
{ }

0 commit comments

Comments
 (0)