Fix get views endpoint returning built in by_link view

This commit is contained in:
Andrew Kingston 2020-10-04 17:59:49 +01:00
parent da035452e6
commit 82476e2ae9
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@ const controller = {
const response = []
for (let name of Object.keys(designDoc.views)) {
// Only return custom views
if (name === "by_link") {
continue
}
response.push({
name,
...designDoc.views[name],