Skip to content

Commit

Permalink
Fix API endpoint typo indices/clear_caches -> indices/clear_cache. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcenizal authored Mar 7, 2019
1 parent 1906fbe commit 04923d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ const handler = async (request, callWithRequest, h) => {
return h.response();
};
export function registerClearCacheRoute(router) {
router.post('indices/clear_caches', handler);
router.post('indices/clear_cache', handler);
}

0 comments on commit 04923d7

Please sign in to comment.