Skip to content

Commit

Permalink
Merge branch 'json-resource-wrapping-behaviour' of github.com:opcodes…
Browse files Browse the repository at this point in the history
…io/log-viewer into json-resource-wrapping-behaviour
  • Loading branch information
arukompas committed Sep 22, 2023
2 parents 8fd4e22 + aedc572 commit 1c8dfe8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Route::middleware([
ForwardRequestToHostMiddleware::class,
JsonResourceWithoutWrappingMiddleware::class
JsonResourceWithoutWrappingMiddleware::class,
])->group(function () {
Route::get('folders', 'FoldersController@index')->name('log-viewer.folders');
Route::get('folders/{folderIdentifier}/download', 'FoldersController@download')->name('log-viewer.folders.download');
Expand Down
2 changes: 1 addition & 1 deletion src/LogFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

class LogFile
{
use Concerns\LogFile\HasMetadata;
use Concerns\LogFile\CanCacheData;
use Concerns\LogFile\HasMetadata;

public string $path;
public string $name;
Expand Down
2 changes: 1 addition & 1 deletion src/LogIndex.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@

class LogIndex
{
use Concerns\LogIndex\HasMetadata;
use Concerns\LogIndex\CanCacheIndex;
use Concerns\LogIndex\CanFilterIndex;
use Concerns\LogIndex\CanIterateIndex;
use Concerns\LogIndex\CanSplitIndexIntoChunks;
use Concerns\LogIndex\HasMetadata;
use Concerns\LogIndex\PreservesIndexingProgress;

const DEFAULT_CHUNK_SIZE = 50_000;
Expand Down
2 changes: 1 addition & 1 deletion src/Readers/BaseLogReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

abstract class BaseLogReader
{
use Concerns\LogReader\KeepsInstances;
use Concerns\LogReader\KeepsFileHandle;
use Concerns\LogReader\KeepsInstances;

protected LogFile $file;

Expand Down

0 comments on commit 1c8dfe8

Please sign in to comment.