Skip to content

Commit 2a6d99e

Browse files
committed
remove unused
1 parent 222f5c7 commit 2a6d99e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app/Http/Controllers/API/v1/StationController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public function index(Request $request): JsonResponse {
148148

149149
/**
150150
* @OA\Get(
151-
* path="/station/{id}",
151+
* path="/stations/{id}",
152152
* operationId="showStation",
153153
* tags={"Checkin"},
154154
* summary="Show station",

routes/api.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@
9797
Route::prefix('station')->middleware(['scope:write-statuses'])->group(static function() {
9898
Route::put('/{id}/home', [TransportController::class, 'setHome'])->whereNumber('id');
9999
Route::get('/{id}/departures', [TransportController::class, 'getDepartures'])->whereNumber('id');
100-
Route::get('/{id}', [StationController::class, 'show'])->whereNumber('id');
101100
});
102101

103102
Route::group(['prefix' => 'statistics', 'middleware' => 'scope:read-statistics'], static function() {

0 commit comments

Comments
 (0)