New answers tagged

1

This field's type is editor[], and its name is editors. So change rentalStructs[_bagId].editor to rentalStructs[_bagId].editors. Also, for good practice, I recommend that you move struct editor { ... } before (above) struct BuildingRental { ... }, since the latter depends on the former and not vice-versa.


Top 50 recent answers are included