This is an automated email from the ASF dual-hosted git repository.

abeizn pushed a commit to branch fix#6075-2
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/fix#6075-2 by this push:
     new 00bc6cbf9 fix: remove some isIncremental
00bc6cbf9 is described below

commit 00bc6cbf9f5a69fed6c0cf2e09e072f690d0abc6
Author: abeizn <[email protected]>
AuthorDate: Tue Sep 19 09:59:14 2023 +0800

    fix: remove some isIncremental
---
 backend/plugins/bitbucket/tasks/api_common.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend/plugins/bitbucket/tasks/api_common.go 
b/backend/plugins/bitbucket/tasks/api_common.go
index 6e03c3da9..7e2e76775 100644
--- a/backend/plugins/bitbucket/tasks/api_common.go
+++ b/backend/plugins/bitbucket/tasks/api_common.go
@@ -102,7 +102,7 @@ func GetQueryCreatedAndUpdated(fields string, 
collectorWithState *api.ApiCollect
                query.Set("fields", fields)
                query.Set("sort", "created_on")
 
-               if collectorWithState.IsIncreamtal && collectorWithState.Since 
!= nil {
+               if collectorWithState.Since != nil {
                        query.Set("q", fmt.Sprintf("updated_on>=%s", 
collectorWithState.Since.Format(time.RFC3339)))
                }
                return query, nil

Reply via email to