Forgot to add the WebAPI method for PostSavedSearch
This commit is contained in:
@@ -52,5 +52,11 @@ namespace Umbraco.Web.Editors
|
||||
{
|
||||
return _logViewer.GetSavedSearches();
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
public IEnumerable<SavedLogSearch> PostSavedSearch(SavedLogSearch item)
|
||||
{
|
||||
return _logViewer.AddSavedSearch(item.Name, item.Query);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user