mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 15:56:05 -07:00
Fixed an issue where we didn't provide the correct response when clearing the logs
This commit is contained in:
parent
a08170ca95
commit
3563f166c9
2 changed files with 2 additions and 2 deletions
|
@ -903,7 +903,7 @@ namespace PlexRequests.UI.Modules
|
|||
{
|
||||
await LogsRepo.DeleteAsync(logEntity);
|
||||
}
|
||||
return Response.AsJson(new JsonResponseModel { Result = true });
|
||||
return Response.AsJson(new JsonResponseModel { Result = true, Message = "Logs cleared successfully."});
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
|
@ -124,7 +124,7 @@
|
|||
});
|
||||
});
|
||||
|
||||
$('#clearLogs').click(function() {
|
||||
$('#clearLogs').click(function(e) {
|
||||
e.preventDefault();
|
||||
var $form = $("#clearForm");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue