Skip to content

Commit

Permalink
Added auditlog to getdependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudhprasad-sap committed Aug 30, 2024
1 parent 2b56a9d commit 368a24d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/server/internal/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ func (s *SubscriptionHandler) getServiceDependencies(capApp *v1alpha1.CAPApplica
return nil
}

if service.Class == "destination" || service.Class == "connectivity" {
if service.Class == "destination" || service.Class == "connectivity" || (service.Class == "auditlog" && credentials["plan"] == "oauth2") {
if checkXsAppNameInCredentials(credentials) {
return map[string]interface{}{
"appId": credentials["xsappname"].(string),
Expand Down

0 comments on commit 368a24d

Please sign in to comment.