This is an automated email from the ASF dual-hosted git repository.
abeizn pushed a commit to branch release-v1.0
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/release-v1.0 by this push:
new 21cfa05c8 fix: pagerduty scope api listing service without related
projects (#7587) (#7592)
21cfa05c8 is described below
commit 21cfa05c80cd84dc9b1edfa2551501ccca39c40c
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Jun 7 16:38:37 2024 +0800
fix: pagerduty scope api listing service without related projects (#7587)
(#7592)
Co-authored-by: Klesh Wong <[email protected]>
---
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 {