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 eeb40db commit b0dd3f5Copy full SHA for b0dd3f5
iga/invenio.py
@@ -104,7 +104,7 @@ def invenio_token_valid(server_url):
104
# programs (and especially ones that run as GHAs) we don't want to get far
105
# into the work before discovering we won't be able to upload the result.
106
try:
107
- return bool(_invenio('get', endpoint='/api/users?size=1',
+ return bool(_invenio('get', url=f'{server_url}/api/users?size=1',
108
msg='confirm InvenioRDM token is valid'))
109
except KeyboardInterrupt:
110
raise
0 commit comments