mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-27 20:11:14 +00:00
Merge pull request #1268 from bookwyrm-social/inventaire-works
Fixes loading editions from inventaire
This commit is contained in:
commit
710f834e53
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ class Connector(AbstractConnector):
|
||||||
# flatten the data so that images, uri, and claims are on the same level
|
# flatten the data so that images, uri, and claims are on the same level
|
||||||
return {
|
return {
|
||||||
**data.get("claims", {}),
|
**data.get("claims", {}),
|
||||||
**{k: data.get(k) for k in ["uri", "image", "labels", "sitelinks"]},
|
**{k: data.get(k) for k in ["uri", "image", "labels", "sitelinks", "type"]},
|
||||||
}
|
}
|
||||||
|
|
||||||
def search(self, query, min_confidence=None): # pylint: disable=arguments-differ
|
def search(self, query, min_confidence=None): # pylint: disable=arguments-differ
|
||||||
|
|
Loading…
Reference in a new issue