Skip to content

Commit fb52c83

Browse files
committed
fix cache check
1 parent dd74d60 commit fb52c83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/posit/connect/resources.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def _get_or_fetch(self) -> List[T]:
119119
List[T]
120120
A list of items of type `T` representing the fetched data.
121121
"""
122-
if self._cache:
122+
if self._cache is not None:
123123
return self._cache
124124

125125
endpoint = self._ctx.url + self._path

0 commit comments

Comments
 (0)