Skip to content

Commit 9ab7d6e

Browse files
authored
fix: properly pass down transactions parameter
1 parent cf2fdda commit 9ab7d6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/API/Two/Transactions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function all(): array
4141
*/
4242
public function create(array $transactions): array
4343
{
44-
return $this->post('transactions', $transactions);
44+
return $this->post('transactions', compact('transactions'));
4545
}
4646

4747
/**

0 commit comments

Comments
 (0)