Skip to content

Commit

Permalink
Fix API endpoint typo indices/clear_caches -> indices/clear_cache. (e…
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcenizal authored and PhilippBaranovskiy committed Mar 7, 2019
1 parent f74b70f commit ed3a807
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 ed3a807

Please sign in to comment.