indiana-university/itpeople-functions-v2

GET department/{id}/memberUnits returns duplicate results

Closed this issue · 1 comments

An request to fetch the member units for a given department can return duplicate unit results. I noticed this on the test server page for UA-VPIT.

Request

GET https://api.itpeople-test.iu.edu/departments/2547/memberUnits

Response

image

Page view

image

At some point we should rejigger our tests and TestEntities to have more complex relationships, without turning over the contract tests apple cart. But I think that's too much to shoehorn into this issue.