Add Controller

This commit is contained in:
2025-09-21 16:59:12 +02:00
parent 4e3968f4b1
commit 55a8b09310
8 changed files with 76 additions and 8 deletions

View File

@@ -1,5 +1,7 @@
using API.Schema;
using log4net;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace API.Workers;
@@ -116,6 +118,7 @@ public abstract class BaseWorker : Identifiable
}
}
[JsonConverter(typeof(StringEnumConverter))]
public enum WorkerExecutionState
{
Failed = 0,