Fix Dev script to use correct id for seller_id
This commit is contained in:
parent
ac9041f02a
commit
2c96131905
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ sub run {
|
|||
for ( 1 .. $number ) {
|
||||
for my $user_result ( $user_rs->all ) {
|
||||
$user_result->create_related( 'transactions', {
|
||||
seller_id => $organisations[int(rand($#organisations))]->id,
|
||||
seller_id => $organisations[int(rand($#organisations))]->organisation_id,
|
||||
value => int(rand(9999)) / 100,
|
||||
proof_image => 'a',
|
||||
submitted_at => $dtf->format_datetime($datetime->clone->add( minutes => int(rand(1440)) )),
|
||||
|
|
Reference in a new issue