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

Fix ORCiD Deletion #2299

Merged
merged 1 commit into from
Jul 25, 2024
Merged

Fix ORCiD Deletion #2299

merged 1 commit into from
Jul 25, 2024

Conversation

thostetler
Copy link
Member

Removes the type check and makes it more lax.
Also now rejects the promise instead of throwing, so that it gets properly handled inside the promise context.
Throwing the error here does not get handled in jQuery deferreds unlike in the native Promises.

To test:

  • login to orcid
  • Claim and then delete the claim, the loading indicator will show and never go away.

Removes the type check and makes it more lax.  Also now rejects the promise instead of throwing, so that it gets properly handled inside the promise context.  Throwing the error here does not get handled in jQuery deferreds unlike in the native Promises
@thostetler thostetler requested a review from shinyichen July 24, 2024 17:50
@thostetler thostetler merged commit f664d43 into adsabs:master Jul 25, 2024
1 check passed
@thostetler thostetler deleted the fix-orcid-delete branch July 25, 2024 18:54
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.

2 participants