💥 Replace action! macro with actions!

This commit is contained in:
Manuel Cillero 2023-09-03 09:00:00 +02:00
parent 507015d5c9
commit c50cfa985f
8 changed files with 22 additions and 15 deletions

View file

@ -27,7 +27,7 @@ impl ModuleTrait for Node {
}
fn actions(&self) -> Vec<Action> {
vec![action!(ActionBeforePrepareBody => before_prepare_body, -1)]
actions![ActionBeforePrepareBody::with(before_prepare_body).with_weight(-1)]
}
fn migrations(&self) -> Vec<MigrationItem> {