Skip to content

Commit

Permalink
Merge pull request #2882 from adibnaya/patch-2
Browse files Browse the repository at this point in the history
Fix typo in tutorial
  • Loading branch information
Gildas Garcia authored Feb 13, 2019
2 parents f08bf85 + d0fab37 commit a8e44ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/Tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ import { stringify } from 'query-string';
const API_URL = 'my.api.url';

/**
* @param {String} type One of the constants appearing at the top if this file, e.g. 'UPDATE'
* @param {String} type One of the constants appearing at the top of this file, e.g. 'UPDATE'
* @param {String} resource Name of the resource to fetch, e.g. 'posts'
* @param {Object} params The Data Provider request params, depending on the type
* @returns {Object} { url, options } The HTTP request parameters
Expand Down Expand Up @@ -857,7 +857,7 @@ const convertDataProviderRequestToHTTP = (type, resource, params) => {

/**
* @param {Object} response HTTP response from fetch()
* @param {String} type One of the constants appearing at the top if this file, e.g. 'UPDATE'
* @param {String} type One of the constants appearing at the top of this file, e.g. 'UPDATE'
* @param {String} resource Name of the resource to fetch, e.g. 'posts'
* @param {Object} params The Data Provider request params, depending on the type
* @returns {Object} Data Provider response
Expand Down

0 comments on commit a8e44ce

Please sign in to comment.