Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: add issue object to the webhook test endpoint (#11668)
Tianzhou (天舟)682a6ab03f71
diff --git a/backend/api/v1/project_service.go b/backend/api/v1/project_service.goindex ca8fbb61f6..0137009123 100644--- a/backend/api/v1/project_service.go+++ b/backend/api/v1/project_service.go@@ -700,7 +700,14 @@ func (s *ProjectService) TestWebhook(ctx context.Context, request *v1pb.TestWebhCreatorName: "Bytebase",CreatorEmail: api.SystemBotEmail,CreatedTs: time.Now().Unix(),- Project: &webhookplugin.Project{Name: project.Title},+ Issue: &webhookplugin.Issue{+ ID: 1,+ Name: "Test issue",+ Status: "OPEN",+ Type: "bb.issue.database.create",+ Description: "This is a test issue",+ },+ Project: &webhookplugin.Project{Name: project.Title},},)if err != nil {