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

github-bot pushed a commit to branch release-v1.0-auto-cherry-pick-7587
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git

commit 666144b7a3d56caabee8be7a1ed711ff602373df
Author: Klesh Wong <[email protected]>
AuthorDate: Fri Jun 7 15:34:24 2024 +0800

    fix: pagerduty scope api listing service without related projects (#7587)
---
 backend/plugins/pagerduty/models/service.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend/plugins/pagerduty/models/service.go 
b/backend/plugins/pagerduty/models/service.go
index d3b860b45..868f1f526 100644
--- a/backend/plugins/pagerduty/models/service.go
+++ b/backend/plugins/pagerduty/models/service.go
@@ -35,7 +35,7 @@ type Service struct {
 }
 
 func (s Service) ScopeId() string {
-       return s.Name
+       return s.Id
 }
 
 func (s Service) ScopeName() string {

Reply via email to