forked from mirrors/bookwyrm
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
|
||||
return {
|
||||
**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
|
||||
|
|
Loading…
Reference in a new issue