Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

Commit 9271a7c

Browse files
committed
remove unnecessary code
1 parent 85dea9c commit 9271a7c

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

deta/base.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,7 @@ def fetch(
181181
fetch items from the database.
182182
`query` is an optional filter or list of filters. Without filter, it will return the whole db.
183183
"""
184-
code, res = self._fetch(query, limit, last)
185-
if code != 200:
186-
return None
184+
_, res = self._fetch(query, limit, last)
187185

188186
paging = res.get("paging")
189187

0 commit comments

Comments
 (0)