Skip to content

Commit

Permalink
add audit log kind for group decline
Browse files Browse the repository at this point in the history
  • Loading branch information
AsianIntel committed Dec 21, 2024
1 parent e0f5ce3 commit 8ddeea2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rowifi_models/src/audit_log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ pub enum AuditLogKind {
EventTypeCreate = 12,
EventTypeModify = 13,
GroupAccept = 14,
GroupDecline = 15
}

#[derive(Clone, Debug, Deserialize, Serialize)]
Expand Down Expand Up @@ -98,6 +99,10 @@ pub enum AuditLogData {
group_id: GroupId,
target_roblox_user: RobloxUserId,
},
GroupDecline {
group_id: GroupId,
target_roblox_user: RobloxUserId,
},
}

impl TryFrom<tokio_postgres::Row> for AuditLog {
Expand Down

0 comments on commit 8ddeea2

Please sign in to comment.