add job invoice
This commit is contained in:
@@ -18,7 +18,7 @@ public class InvoiceSyncService(HttpClient httpClient, BimAIDbContext db, IConfi
|
||||
|
||||
public async Task RunAsync()
|
||||
{
|
||||
var apiKey = configuration["E5_CRM:ApiKey"];
|
||||
var apiKey = configuration["TWINPOL_CRM:ApiKey"];
|
||||
var syncState = db.SyncStates.FirstOrDefault(x => x.Entity == "Invoice") ?? new SyncState { Entity = "Invoice", LastSynced = 0 };
|
||||
|
||||
var url = $"https://crm.twinpol.com/REST/index.php?key={apiKey}&action=bimai.export.ecommerce&since=0";
|
||||
|
||||
Reference in New Issue
Block a user