From f6d709269f8de89048deebd4ce02fc5931d90305 Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Wed, 27 Mar 2024 14:23:57 +0800 Subject: [PATCH] * Adjust sync gitfox pipeline params. --- module/compile/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/compile/model.php b/module/compile/model.php index 6ea667dcbc..c11c5e7912 100644 --- a/module/compile/model.php +++ b/module/compile/model.php @@ -352,7 +352,7 @@ class compileModel extends model /* Get build list by API. */ for($page = 1; true; $page++) { - $param = $job->lastSyncDate ? '&updated_after=' . strtotime($job->lastSyncDate) : ''; + $param = $job->lastSyncDate ? '&after=' . strtotime($job->lastSyncDate) : ''; $builds = json_decode(commonModel::http($url . "&page={$page}&limit=100" . $param, null, array(), $apiRoot->header)); if(!is_array($builds)) break;