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 6, 2019
1 parent 6f4fedc commit e365f0b
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 e365f0b

Please sign in to comment.