Skip to content

Commit

Permalink
correct log channel field name
Browse files Browse the repository at this point in the history
  • Loading branch information
AsianIntel committed Nov 7, 2024
1 parent 593f304 commit fff82d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rowifi_models/src/guild.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ impl TryFrom<tokio_postgres::Row> for PartialRoGuild {
.try_get("registered_groups")
.unwrap_or_else(|_| Json(Vec::new()));
let sticky_roles = row.try_get("sticky_roles").unwrap_or_default();
let log_channel = row.try_get("channel_id").ok();
let log_channel = row.try_get("log_channel").ok();

Ok(Self {
guild_id,
Expand Down

0 comments on commit fff82d5

Please sign in to comment.