modify #4099 - fix localization and use Delete rather than Clear in API methods for consistency with rest of framework

This commit is contained in:
sbwalker
2024-04-04 11:58:05 -04:00
parent 160b3ff655
commit 7b95db4d13
7 changed files with 20 additions and 32 deletions

View File

@ -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}");
}