Skip to content

Commit dd18d9f

Browse files
committed
update code
1 parent 6c80bcf commit dd18d9f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/includes/write/transaction.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,13 @@
3333

3434
$receipts->insertOne([
3535
'account_id' => $accountId,
36-
'description' => $summary,
36+
'summary' => $summary,
3737
'timestamp' => new MongoDB\BSON\UTCDateTime(),
3838
],
3939
['session' => $session]);
4040

41-
echo 'Successfully performed transaction!' , "\n";
41+
echo 'Successfully performed transaction!' , PHP_EOL;
42+
echo 'Summary: ', $summary, PHP_EOL;
4243
};
4344
// end-callback
4445

0 commit comments

Comments
 (0)