diff --git a/app/graphql/types/doi_item.rb b/app/graphql/types/doi_item.rb index 66f75044f..5298363a8 100644 --- a/app/graphql/types/doi_item.rb +++ b/app/graphql/types/doi_item.rb @@ -59,9 +59,8 @@ def descriptions(first: nil) object.descriptions[0...first] end - def formatted_citation(style: "apa", locale: "en-US") - object.style = style - object.locale = locale + def formatted_citation + # defaults to style: apa and locale: en-US object.citation end end