Skip to content

Commit

Permalink
Thermo version default value bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
munrojm committed May 25, 2021
1 parent c259769 commit 0258873
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/mp_api/routes/thermo/resources.py
Expand Up @@ -13,6 +13,8 @@
IsStableQuery,
)

from mp_api.core.settings import MAPISettings

from mp_api.routes.materials.query_operators import MultiMaterialIDQuery


Expand All @@ -21,7 +23,7 @@ def thermo_resource(thermo_store):
thermo_store,
ThermoDoc,
query_operators=[
VersionQuery(),
VersionQuery(default_version=MAPISettings().db_version),
MultiMaterialIDQuery(),
ThermoChemicalQuery(),
IsStableQuery(),
Expand Down

0 comments on commit 0258873

Please sign in to comment.