From c025da99dc3ee7d062a8a3ddf716f66091f77242 Mon Sep 17 00:00:00 2001 From: eraseyourknees <112027564+eraseyourknees@users.noreply.github.com> Date: Fri, 16 Sep 2022 00:45:03 +0200 Subject: [PATCH] Add fetching specific builds only --- shared/requests.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/shared/requests.php b/shared/requests.php index a94d02f..aa89595 100644 --- a/shared/requests.php +++ b/shared/requests.php @@ -406,6 +406,9 @@ function composeFetchUpdRequest($device, $encData, $arch, $flight, $ring, $build $type ); + $syncCurrent = uupApiConfigIsTrue('fetch_sync_current_only'); + $syncCurrentStr = $syncCurrent ? 'true' : 'false'; + return << @@ -527,7 +530,7 @@ function composeFetchUpdRequest($device, $encData, $arch, $flight, $ring, $build - false + $syncCurrentStr $deviceAttributes $callerAttrib $products