Fix URI Prefix error

This commit is contained in:
Jonathan Jenne
2022-12-20 12:04:40 +01:00
parent 343f47ca29
commit 3e2c4a9ab0
5 changed files with 266 additions and 294 deletions

View File

@@ -82,7 +82,11 @@ Public Class JobStatus
Dim oExists = Entries.Where(Function(e) e.JobId = oJobId).Any()
If Not oExists Then
Entries.Add(New StatusItem(oJobId))
Entries.Add(New StatusItem With {
.JobId = oJobId,
.Id = Guid.NewGuid.ToString(),
.Steps = New List(Of StatusItem.HistoryStep)
})
End If
Return Entries.Where(Function(e) e.Id = oJobId).SingleOrDefault()