Skip to content

Commit 0193a7e

Browse files
committed
cleanup and fixes
1 parent 93d6cf3 commit 0193a7e

3 files changed

Lines changed: 0 additions & 11 deletions

File tree

app/Http/Controllers/AuthController.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,4 @@ public function me(Request $request)
7979
],
8080
]);
8181
}
82-
83-
public function health()
84-
{
85-
return response()->json(['status' => 'ok']);
86-
}
8782
}
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ public function issueToken(User $user): string
2727
return JWT::encode($payload, $this->secret(), 'HS256');
2828
}
2929

30-
/** @return array<string,mixed> */
3130
public function decode(string $token): array
3231
{
3332
$decoded = JWT::decode($token, new Key($this->secret(), 'HS256'));

routes/api.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@
3737
}
3838
});
3939

40-
41-
42-
43-
44-
4540
Route::prefix('auth')->group(function () {
4641
Route::post('/register', [AuthController::class, 'register']);
4742
Route::post('/login', [AuthController::class, 'login']);

0 commit comments

Comments
 (0)