We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a908bc commit 1e49fb8Copy full SHA for 1e49fb8
optimade/server/entry_collections/entry_collections.py
@@ -156,7 +156,7 @@ def find(
156
results = self.resource_mapper.deserialize(results)
157
158
if single_entry:
159
- raw_results = raw_results[0] if raw_results else None # type: ignore[assignment]
+ results = results[0] if results else None # type: ignore[assignment]
160
161
if data_returned > 1:
162
raise NotFound(
0 commit comments