mirror of
https://github.com/C9Glax/tranga.git
synced 2025-10-17 10:50:45 +02:00
Actions use enum
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
namespace API.Schema.ActionsContext.Actions;
|
||||
|
||||
public sealed class StartupActionRecord(string action, DateTime performedAt) : ActionRecord(action, performedAt)
|
||||
public sealed class StartupActionRecord(ActionsEnum action, DateTime performedAt) : ActionRecord(action, performedAt)
|
||||
{
|
||||
public StartupActionRecord() : this(StartupAction, DateTime.UtcNow) { }
|
||||
|
||||
public const string StartupAction = "Tranga.Started";
|
||||
public StartupActionRecord() : this(ActionsEnum.Startup, DateTime.UtcNow) { }
|
||||
}
|
Reference in New Issue
Block a user