Skip to content

Commit

Permalink
Altera campo de ID usado na consulta do DeCS Highlighter. #1457
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciusandrade committed Sep 11, 2024
1 parent 19cb08b commit a5576d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bireme/utils/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def decs_suggestion(request):
decs_list_response = response_json['positions']

for decs_term in decs_list_response:
decs_id = decs_term['id']
decs_id = str(int(decs_term['decsId']))
if decs_id not in decs_ids:
decs_ids.append(decs_id)
decs_list_unique.append(decs_term)
Expand Down

0 comments on commit a5576d9

Please sign in to comment.