update code by review result.

This commit is contained in:
Ben
2024-04-03 22:27:39 +08:00
parent 4c08a527be
commit 757a39a75e
5 changed files with 23 additions and 8 deletions

View File

@ -210,7 +210,7 @@
<data name="Success.SaveSiteSettings" xml:space="preserve">
<value>Settings Saved Successfully</value>
</data>
<data name="ClearLogs" xml:space="preserve">
<data name="ClearLogs.Text" xml:space="preserve">
<value>Clear Logs</value>
</data>
<data name="Confirm.ClearLogs" xml:space="preserve">

View File

@ -37,7 +37,7 @@ namespace Oqtane.Services
public async Task ClearLogsAsync(int siteId)
{
await DeleteAsync($"{Apiurl}?siteid={siteId}&includeErrors=true");
await DeleteAsync($"{Apiurl}?siteid={siteId}");
}
public async Task Log(int? pageId, int? moduleId, int? userId, string category, string feature, LogFunction function, LogLevel level, Exception exception, string message, params object[] args)