Code refactor finished
This commit is contained in:
@@ -28,10 +28,10 @@ public class LogsController : Controller
|
||||
|
||||
var type = entry.LogType switch
|
||||
{
|
||||
LogType.import => "Import",
|
||||
LogType.backup => "Backup",
|
||||
LogType.process => "Process",
|
||||
LogType.powerBI => "PowerBIAccess",
|
||||
LogType.Import => "Import",
|
||||
LogType.Backup => "Backup",
|
||||
LogType.Process => "Process",
|
||||
LogType.PowerBi => "PowerBIAccess",
|
||||
_ => "Other"
|
||||
};
|
||||
var response = _googleSheetValues.Get(_configuration["appLogsFile"], $"{type}!A:A").Execute();
|
||||
|
||||
Reference in New Issue
Block a user