From 65eceb360b9396a12b824e63308e6e46a4366a02 Mon Sep 17 00:00:00 2001 From: Sergey Onufrienko Date: Wed, 6 Nov 2019 12:23:08 +0200 Subject: [PATCH] Update JSDocs on Fields --- services/fields.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/services/fields.js b/services/fields.js index 5fefa619d..3a2a40b16 100644 --- a/services/fields.js +++ b/services/fields.js @@ -3,11 +3,9 @@ import axios from 'axios'; // utils import { logger } from 'utils/logs'; -// API docs: https://resource-watch.github.io/doc-api/index-rw.html#fields - /** - * fetches fields for a specific dataset. - * + * Fetches fields for a specific dataset. + * Check out the API docs for this endpoint {@link https://resource-watch.github.io/doc-api/index-rw.html#fields|here} * @param {String} url - URL to get fields. * @returns {Object} array of dataset fields. */