Skip to content

Commit

Permalink
Remove unrelated changes
Browse files Browse the repository at this point in the history
  • Loading branch information
InAnYan committed Sep 17, 2024
1 parent 6859aff commit f131cbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
6 changes: 1 addition & 5 deletions src/models/webhook_events/payload/issue_comment.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
use serde::{Deserialize, Serialize};

use crate::models::{
issues::{Comment, Issue},
Repository,
};
use crate::models::issues::{Comment, Issue};

use super::OldValue;

Expand All @@ -15,7 +12,6 @@ pub struct IssueCommentWebhookEventPayload {
pub comment: Comment,
pub enterprise: Option<serde_json::Value>,
pub issue: Issue,
pub repository: Repository,
}

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
Expand Down
3 changes: 1 addition & 2 deletions src/models/webhook_events/payload/issues.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use serde::{Deserialize, Serialize};

use crate::models::{issues::Issue, Author, Label, Milestone, Repository};
use crate::models::{issues::Issue, Author, Label, Milestone};

use super::OldValue;

Expand All @@ -14,7 +14,6 @@ pub struct IssuesWebhookEventPayload {
pub milestone: Option<Milestone>,
pub label: Option<Label>,
pub changes: Option<IssuesWebhookEventChanges>,
pub repository: Repository,
}

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
Expand Down

0 comments on commit f131cbd

Please sign in to comment.