modify #4099 - fix localization and use Delete rather than Clear in API methods for consistency with rest of framework
This commit is contained in:
@ -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