Skip to content

Commit

Permalink
Fix release metadatum to pick first default locale
Browse files Browse the repository at this point in the history
  • Loading branch information
nid90 committed May 14, 2024
1 parent 5d103b6 commit 784bd81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/release_platform_run.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def check_release_health
end

def release_metadatum
release_metadata.where(locale: ReleaseMetadata::DEFAULT_LOCALES).sole
release_metadata.where(locale: ReleaseMetadata::DEFAULT_LOCALES).first
end

def show_health?
Expand Down

0 comments on commit 784bd81

Please sign in to comment.