This is an automated email from the ASF dual-hosted git repository.
lynwee pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new 0906d279a fix: pagerduty scope api listing service without related
projects (#7587)
0906d279a is described below
commit 0906d279a600608da3c08844e7d04a0436b56b2a
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 {