Skip to content
Snippets Groups Projects

Fix API bug

Merged s212246 requested to merge api_bug into main

There was a bug whereby for arxiv DOIs our API returned the full page and not the correct reference.

To fix this bug the only possible solution I found was changing the requested header and ask for an entire json dictionary with all the metadata regarding that specific doi. Then I added a function to extract just the fields that I wanted to display in the reference and concatenate them to create a string.

I tested my solution with all papers cited in notion/projects/qim_repository and it works, I also tested with some arxiv DOIs and it seems to work as well.

Merge request reports

Approved by

Merged by fimafima 1 year ago (Feb 19, 2024 2:59pm UTC)

Merge details

  • Changes merged into main with 3ed9de45 (commits were squashed).
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading