Skip to content

Commit 7850bab

Browse files
authored
fix: fixing public index method (#513)
1 parent 2863c1b commit 7850bab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Bootstrap/RoutesDefinition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function __invoke(string $uriKey = null)
7171
Route::get(
7272
$prefix.'',
7373
\Binaryk\LaravelRestify\Http\Controllers\RepositoryIndexController::class
74-
)->name('index')->withoutMiddleware('auth:sanctum');
74+
)->name('index')->withoutMiddleware($this->excludedMiddleware);
7575
Route::post(
7676
$prefix.'',
7777
\Binaryk\LaravelRestify\Http\Controllers\RepositoryStoreController::class

0 commit comments

Comments
 (0)