♻️ Refactored the thought Solar Network related plugins
This commit is contained in:
11
DysonNetwork.Insight/Thought/TokenBillingJob.cs
Normal file
11
DysonNetwork.Insight/Thought/TokenBillingJob.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using Quartz;
|
||||
|
||||
namespace DysonNetwork.Insight.Thought;
|
||||
|
||||
public class TokenBillingJob(ThoughtService thoughtService, ILogger<TokenBillingJob> logger) : IJob
|
||||
{
|
||||
public async Task Execute(IJobExecutionContext context)
|
||||
{
|
||||
await thoughtService.SettleThoughtBills(logger);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user