Skip to content

Commit

Permalink
Lighten version API call
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyDL-Infomaniak committed Jun 21, 2024
1 parent c80a9ee commit 1fd97b6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ object ApiRoutesStores {
val store = StoreUtils.REQUIRED_UPDATE_STORE.apiValue
val platform = Platform.ANDROID.apiValue

return "${BuildConfig.INFOMANIAK_API_V1}/app-information/versions/$store/$platform/$appName"
val parameters = "?only=min_version,published_versions.tag&filter_versions[]=production"

return "${BuildConfig.INFOMANIAK_API_V1}/app-information/versions/$store/$platform/$appName$parameters"
}
}

0 comments on commit 1fd97b6

Please sign in to comment.