Skip to content
Snippets Groups Projects
Verified Commit 3cb0b597 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: database issue with job struct #19

parent 973188b6
Branches
Tags
No related merge requests found
...@@ -101,7 +101,7 @@ func (s *DBSaver) Start() error { ...@@ -101,7 +101,7 @@ func (s *DBSaver) Start() error {
memLogs := permJob.Logs memLogs := permJob.Logs
permJob.Logs = nil permJob.Logs = nil
var existingJob GenericJob var existingJob JobPersistence
result := tx.Where("id = ?", permJob.GetID()).First(&existingJob) result := tx.Where("id = ?", permJob.GetID()).First(&existingJob)
if result.Error != nil { if result.Error != nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment