diff --git a/app/models/locale.rb b/app/models/locale.rb index f6b890270..619ef4c4a 100644 --- a/app/models/locale.rb +++ b/app/models/locale.rb @@ -92,7 +92,9 @@ all: result = UserAgent.get( url, - {}, + { + version: Version.get, + }, { json: true, } diff --git a/app/models/translation.rb b/app/models/translation.rb index 722368d27..6f1fb2da0 100644 --- a/app/models/translation.rb +++ b/app/models/translation.rb @@ -257,7 +257,9 @@ all: end result = UserAgent.get( url, - {}, + { + version: Version.get, + }, { json: true, open_timeout: 8,