Skip to content

Commit

Permalink
🔥 Remove unused function (#1959)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKrisKrisu authored Oct 5, 2023
1 parent 811565b commit 8e674f3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/Http/Controllers/API/v1/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,6 @@ public function statuses(Request $request, string $username): AnonymousResourceC
return StatusResource::collection($userResponse);
}

//ToDo: Is this even used anywhere?
public function authenticated(): UserResource {
return new UserResource(Auth::user());
}

/**
* @OA\Get(
* path="/user/{username}",
Expand Down

0 comments on commit 8e674f3

Please sign in to comment.