Skip to content

Commit

Permalink
fix: change query parameter name to fieldsOfStudy
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnsilva committed Apr 1, 2023
1 parent c560e20 commit 2e3b97a
Show file tree
Hide file tree
Showing 2 changed files with 1,931 additions and 2,302 deletions.
2 changes: 1 addition & 1 deletion semanticscholar/SemanticScholar.py
Expand Up @@ -348,7 +348,7 @@ def search_paper(

if fields_of_study:
fields_of_study = ','.join(fields_of_study)
query += f'&fields_of_study={fields_of_study}'
query += f'&fieldsOfStudy={fields_of_study}'

results = PaginatedResults(
self._requester,
Expand Down

0 comments on commit 2e3b97a

Please sign in to comment.