Skip to content

Fix: #11905#11908

Open
sachindigharra wants to merge 1 commit intocBioPortal:masterfrom
sachindigharra:master
Open

Fix: #11905#11908
sachindigharra wants to merge 1 commit intocBioPortal:masterfrom
sachindigharra:master

Conversation

@sachindigharra
Copy link

Fix # (see https://help.github.com/en/articles/closing-issues-using-keywords)

Describe changes proposed in this pull request:

  • Handle the empty-list case in getDataAccessToken by creating, saving, and returning a new Data Access Token when the user has none
  • Keep the existing behaviour for users with tokens by still returning the latest token from the list, preventing 500 errors while staying backward compatible

Checks

Any screenshots or GIFs?

If this is a new visual feature please add a before/after screenshot or gif
here with e.g. Giphy CAPTURE or Peek

Notify reviewers

Read our Pull request merging
policy
. It can help to figure out who worked on the
file before you. Please use git blame <filename> to determine that
and notify them either through slack or by assigning them as a reviewer on the PR

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

Successfully merging this pull request may close these issues.

1 participant