Bug fix (was raising an error when no rows were returned)
This commit is contained in:
parent
b821748fec
commit
e528db9fad
|
@ -50,16 +50,6 @@ export const getFamily = async (
|
||||||
endkey,
|
endkey,
|
||||||
...options,
|
...options,
|
||||||
});
|
});
|
||||||
if (allDocs.rows.at(-1).id > endkey) {
|
|
||||||
console.error({
|
|
||||||
caller: 'getFamilly',
|
|
||||||
key,
|
|
||||||
endkey,
|
|
||||||
options,
|
|
||||||
local,
|
|
||||||
allDocs,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
return allDocs;
|
return allDocs;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue