mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-30 12:43:57 -06:00
This commit is contained in:
parent
8e45959483
commit
701d7baca8
@ -30,6 +30,7 @@ use FireflyIII\Models\Tag;
|
||||
use FireflyIII\Models\Transaction;
|
||||
use FireflyIII\Models\TransactionJournal;
|
||||
use FireflyIII\User;
|
||||
use Storage;
|
||||
|
||||
/**
|
||||
* Class TestData
|
||||
@ -136,8 +137,9 @@ class TestData
|
||||
]
|
||||
);
|
||||
// echo crypted data to the file.
|
||||
file_put_contents(storage_path('upload/at-' . $one->id . '.data'), $encrypted);
|
||||
file_put_contents(storage_path('upload/at-' . $two->id . '.data'), $encrypted);
|
||||
$disk = Storage::disk('upload');
|
||||
$disk->put('at-' . $one->id . '.data', $encrypted);
|
||||
$disk->put('at-' . $two->id . '.data', $encrypted);
|
||||
|
||||
return $journal;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user