Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not retreiving the endpoints object when updating credentials #53

Open
arno1820 opened this issue Sep 1, 2023 · 2 comments
Open

Not retreiving the endpoints object when updating credentials #53

arno1820 opened this issue Sep 1, 2023 · 2 comments

Comments

@arno1820
Copy link

arno1820 commented Sep 1, 2023

Hi,

https://github.com/TECHS-Technological-Solutions/ocpi/blob/770fd1bb666b9d316f0b1690fc3a90dd8ba8bc67/py_ocpi/modules/credentials/v_2_2_1/api/cpo.py#L127C18-L127C18

This won't retrieve the 'endpoints'-list from the response. The data-field is an object containing a field 'endpoints'.
The response looks like this according to the OCPI 2.2.1 docs:

{
"data": {
"version": "2.2.1",
"endpoints": [
...
]
},
"status_code": 1000,
"status_message": "Generic success code",
"timestamp": "..."
}

@IOR88
Copy link
Contributor

IOR88 commented Sep 1, 2023

Hi @arno1820 if You will be able to create a fix, we will review it and merge.

@IOR88
Copy link
Contributor

IOR88 commented Sep 22, 2024

Hi @arno1820 we are now getting back to ocpi library maintenance, we will soon take care of the request you created, have you successfully integrated ocpi lib with your project ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants