Sefaria-Project icon indicating copy to clipboard operation
Sefaria-Project copied to clipboard

Duplicate comment returned in API

Open ronshapiro opened this issue 5 years ago • 0 comments

https://www.sefaria.org/api/texts/Shabbat.117a?commentary=1 has two entries in the commentaryfor Eruvin 12b:9-10. The only difference in the objects seems to be the _id field (5b225d1787ca670017e7beee and 5b225d1787ca670017e7bef0).

I presume this could be the result of a duplicate link, but maybe it's something else? Should the API protect against returning duplicate data (or perhaps alert someone when it happens)?

ronshapiro avatar Jul 07 '20 18:07 ronshapiro