Skip to content

Commit

Permalink
docs(kitsu-core): update internal serialise JSDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
wopian committed Jun 15, 2020
1 parent 469d23a commit fcd06d9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/kitsu-core/src/serialise/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ function isValid (isArray, type, payload, method) {
* Serialises a relational data object to JSON:API format
*
* @param {Object} node Existing relation object
* @param {Object} relations Relation object being built
* @param {string} key Name of the relationship
* @param {Object} nodeType Resource type of the relation
* @returns {Object} Serialised relationship
* @private
*/
Expand All @@ -58,8 +57,7 @@ function serialiseRelationOne (node, nodeType) {
* Serialises a relational data array to JSON:API format
*
* @param {Object} node Existing relation object
* @param {Object} relations Relation object being built
* @param {string} key Name of the relationship
* @param {Object} nodeType Resource type of the relation
* @returns {Object} Serialised relationship
* @private
*/
Expand Down

0 comments on commit fcd06d9

Please sign in to comment.