Skip to content

Commit

Permalink
Add JSDoc to Blog
Browse files Browse the repository at this point in the history
  • Loading branch information
sonufrienko committed Nov 6, 2019
1 parent 6c8bca1 commit 569d8ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion services/blog.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import { logger } from 'utils/logs';
/**
* Fetchs posts from wordpress API.
*
* @param {Object[]} params - params sent to the API.
* @param {Object} params - params sent to the API.
* @param {Object} headers - headers sent to the API.
* @returns {Object[]} array of parsed posts.
*/
export const fetchPosts = (params = {}, headers = {}) => {
Expand Down

0 comments on commit 569d8ab

Please sign in to comment.