add: layouts api
This commit is contained in:
parent
c83d0a9fc0
commit
b493b2ade8
10 changed files with 353 additions and 22 deletions
|
@ -397,10 +397,7 @@ macro_rules! auto_method {
|
|||
} else {
|
||||
self.create_audit_log_entry($crate::model::moderation::AuditLogEntry::new(
|
||||
user.id,
|
||||
format!(
|
||||
"invoked `{}` with x value `{id}` and y value `{x:?}`",
|
||||
stringify!($name)
|
||||
),
|
||||
format!("invoked `{}` with x value `{id}`", stringify!($name)),
|
||||
))
|
||||
.await?
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue