From 86afe7aa1e2ac2931137599cf59286c98a53f5ca Mon Sep 17 00:00:00 2001 From: Marin Atanasov Date: Thu, 3 Aug 2017 16:19:06 +0300 Subject: [PATCH] Fix categories data fetching description comment --- blocks/library/categories/data.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blocks/library/categories/data.js b/blocks/library/categories/data.js index 26e763efb8fe90..0d56bd4a7a854d 100644 --- a/blocks/library/categories/data.js +++ b/blocks/library/categories/data.js @@ -1,7 +1,7 @@ /** - * Returns a Promise with the categories or an error on failure. + * Returns a jqXHR object with the categories or an error on failure. * - * @returns {wp.api.collections.Categories} Returns a Promise with all categories. + * @returns {wp.api.collections.Categories} Returns a jqXHR object with all categories. */ export function getCategories() { const categoriesCollection = new wp.api.collections.Categories();