diff options
Diffstat (limited to 'grasp-audit/src/client.rs')
| -rw-r--r-- | grasp-audit/src/client.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/grasp-audit/src/client.rs b/grasp-audit/src/client.rs index 60ce918..91a93dc 100644 --- a/grasp-audit/src/client.rs +++ b/grasp-audit/src/client.rs | |||
| @@ -492,7 +492,7 @@ impl AuditClient { | |||
| 492 | // Add any additional tags | 492 | // Add any additional tags |
| 493 | tags.extend(additional_tags); | 493 | tags.extend(additional_tags); |
| 494 | 494 | ||
| 495 | self.event_builder(Kind::Custom(1621), content) | 495 | self.event_builder(Kind::GitIssue, content) |
| 496 | .tags(tags) | 496 | .tags(tags) |
| 497 | .build(self.keys()) | 497 | .build(self.keys()) |
| 498 | .map_err(|e| anyhow!("Failed to build issue event: {}", e)) | 498 | .map_err(|e| anyhow!("Failed to build issue event: {}", e)) |
| @@ -530,7 +530,7 @@ impl AuditClient { | |||
| 530 | // Add any additional tags | 530 | // Add any additional tags |
| 531 | tags.extend(additional_tags); | 531 | tags.extend(additional_tags); |
| 532 | 532 | ||
| 533 | self.event_builder(Kind::Custom(1111), content) | 533 | self.event_builder(Kind::Comment, content) |
| 534 | .tags(tags) | 534 | .tags(tags) |
| 535 | .build(self.keys()) | 535 | .build(self.keys()) |
| 536 | .map_err(|e| anyhow!("Failed to build comment event: {}", e)) | 536 | .map_err(|e| anyhow!("Failed to build comment event: {}", e)) |