Fix get views endpoint returning built in by_link view
This commit is contained in:
parent
537c5a81e0
commit
f5ed9b9f32
|
@ -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],
|
||||
|
|
Loading…
Reference in New Issue