--- a/pallets/common/src/lib.rs +++ b/pallets/common/src/lib.rs @@ -1583,6 +1583,8 @@ } let amount = >::get(collection.id); + // ========= + if admin { let amount = amount .checked_add(1)