SATOSA icon indicating copy to clipboard operation
SATOSA copied to clipboard

fix: name is optional in ORCID backend

Open melanger opened this issue 3 years ago • 0 comments

previously backend threw KeyError for users with empty name, because name is not present in atresp at all and it is None in response from /person endpoint

All Submissions:

  • [x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • [x] Have you added an explanation of what problem you are trying to solve with this PR?
  • [x] Have you added information on what your changes do and why you chose this as your solution?
  • [ ] Have you written new tests for your changes?
  • [ ] Does your submission pass tests?
  • [ ] This project follows PEP8 style guide. Have you run your code against the 'flake8' linter?

melanger avatar Aug 19 '22 09:08 melanger