diff --git a/README.md b/README.md index 3ae0cfb..61788ff 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Snapshots management After installation, need to bing `\Spiral\Snapshotter\Debug\AggregatedSnapshot` ```php -if (env('STORE_SNAPSHOTS')) { +if (env('AGGREGATE_SNAPSHOTS')) { $this->container->bind( Debug\SnapshotInterface::class, \Spiral\Snapshotter\Debug\AggregatedSnapshot::class diff --git a/source/Snapshotter/Controllers/SnapshotsController.php b/source/Snapshotter/Controllers/SnapshotsController.php index 77ba714..e368a2e 100644 --- a/source/Snapshotter/Controllers/SnapshotsController.php +++ b/source/Snapshotter/Controllers/SnapshotsController.php @@ -53,6 +53,7 @@ public function editAction( SnapshotSource $snapshotSource ) { //todo graph + //todo show snapshot at once, if there is one only /** * @var Aggregation $aggregation */