Skip to content

Commit

Permalink
fix: fixes issue #8
Browse files Browse the repository at this point in the history
Bug was caused by wrong APIS_BIBSONOMY setting.

- set url to the zotero-api url
  • Loading branch information
Gregor Pirgie committed Jan 20, 2024
1 parent 890b86c commit 103ee51
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apis/settings/apisviecpro_backend_prod.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
# Bibsonomy Settings
APIS_BIBSONOMY = [{
'type': 'zotero', # or zotero
'url': 'https://zotero.org/', # url of the bibsonomy instance or zotero.org
'url': 'https://api.zotero.org/', # url of the bibsonomy instance or zotero.org
'user': os.getenv("ZOTERO_USER"),
'API key': os.getenv("ZOTERO_API_KEY"),
'group': os.getenv("ZOTERO_GROUP"),
Expand Down
2 changes: 1 addition & 1 deletion apis/settings/apisviecpro_backend_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
# Bibsonomy Settings
APIS_BIBSONOMY = [{
'type': 'zotero', # or zotero
'url': 'https://zotero.org/', # url of the bibsonomy instance or zotero.org
'url': 'https://api.zotero.org/', # url of the bibsonomy instance or zotero.org
# for zotero use the user id number found in settings
'user': os.getenv("ZOTERO_USER"),
'API key': os.getenv("ZOTERO_API_KEY"),
Expand Down
2 changes: 1 addition & 1 deletion apis/settings/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
# TODO: change this!!!
APIS_BIBSONOMY = [{
'type': 'zotero', # or zotero
'url': 'https://zotero.org/', # url of the bibsonomy instance or zotero.org
'url': 'https://api.zotero.org/', # url of the bibsonomy instance or zotero.org
# for zotero use the user id number found in settings
'user': os.getenv("ZOTERO_USER"),
'API key': os.getenv("ZOTERO_API_KEY"),
Expand Down

0 comments on commit 103ee51

Please sign in to comment.