Bug fix for language

This commit is contained in:
Dan Milne
2019-10-11 15:48:06 +11:00
parent cbe74541a0
commit d298b06833

View File

@@ -87,11 +87,11 @@ module Paapi
end
def original_language
language&.find {|l| l['Type'] == 'Original Language' }&.dig('DisplayValue')
languages&.find {|l| l['Type'] == 'Original Language' }&.dig('DisplayValue')
end
def published_language
language&.find {|l| l['Type'] == 'Published' }&.dig('DisplayValue')
languages&.find {|l| l['Type'] == 'Published' }&.dig('DisplayValue')
end
def eans