Skip to content

Commit 240cf7c

Browse files
committed
pubmed query bugfix
1 parent 9713bd8 commit 240cf7c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/workers/api/src/apis/pubmed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def get(self):
9797
def sanitize_params(params):
9898
article_types = params.get("article_types")
9999
if article_types:
100-
[at.replace("\'", "'") for at in article_types]
100+
article_types = [at.replace("'", "'") for at in article_types]
101101
params["article_types"] = article_types
102102
return params
103103

0 commit comments

Comments
 (0)