modify #4099 - fix localization and use Delete rather than Clear in API methods for consistency with rest of framework
This commit is contained in:
@ -34,7 +34,7 @@ namespace Oqtane.Services
|
||||
/// </summary>
|
||||
/// <param name="siteId"></param>
|
||||
/// <returns></returns>
|
||||
Task ClearLogsAsync(int siteId);
|
||||
Task DeleteLogsAsync(int siteId);
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new log entry
|
||||
|
@ -35,7 +35,7 @@ namespace Oqtane.Services
|
||||
return await GetJsonAsync<Log>($"{Apiurl}/{logId}");
|
||||
}
|
||||
|
||||
public async Task ClearLogsAsync(int siteId)
|
||||
public async Task DeleteLogsAsync(int siteId)
|
||||
{
|
||||
await DeleteAsync($"{Apiurl}?siteid={siteId}");
|
||||
}
|
||||
|
Reference in New Issue
Block a user