Skip to content
This repository was archived by the owner on Jul 5, 2022. It is now read-only.

Commit 17acde9

Browse files
committed
docs: add TODO
1 parent f71e05d commit 17acde9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/jsonapi.js

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ function links(req, res, baseUrl) {
4949

5050
// body
5151
if (_.isArray(body.data)) {
52+
// TODO determine type differently
5253
if (body.data.length > 0) {
5354
const type = body.data[0].type
5455
return {

0 commit comments

Comments
 (0)