Open athomas-octoberthree opened 2 months ago
The getPublished function returns more entities than the getMany function, when specifying the same content type in both functions.
getPublished
getMany
Both functions should return the same number of entities.
contentful-management 11.25.4
// ... const entries1 = await client.entry.getMany({ spaceId : mySpaceId, environmentId: myEnvironmentId, query: { content_type: myContentType, } }) const entries2 = await client.entry.getPublished({ spaceId : mySpaceId, environmentId: myEnvironmentId, contentTypeId: myContentType }) // length of entries1 != entries2, but should be
Problem Description
The
getPublished
function returns more entities than thegetMany
function, when specifying the same content type in both functions.Both functions should return the same number of entities.
System Details
contentful-management 11.25.4
Example code demonstrating issue