get rid of any/interface type in job database

This commit is contained in:
aliamerj
2025-08-29 10:17:44 +03:00
parent d693c4f5a6
commit 373f978baa
3 changed files with 33 additions and 61 deletions
+5 -5
View File
@@ -384,11 +384,11 @@ func (am *DefaultAccountManager) CreatePeerJob(ctx context.Context, accountID, p
}
jobMeta := map[string]any{
"job_id": job.ID,
"for_peer_id": job.PeerID,
"job_type": job.Workload.Type,
"job_status": job.Status,
"job_parameters": job.Workload.Parameters,
"job_id": job.ID,
"for_peer_id": job.PeerID,
"job_type": job.Workload.Type,
"job_status": job.Status,
"job_workload": job.Workload,
}
eventsToStore = func() {