update: add get active session api

This commit is contained in:
v2board
2022-12-18 15:03:23 +08:00
parent f621619cc4
commit 2e251872b7
3 changed files with 15 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class AuthService
{
private $user;
public function __construct($user)
public function __construct(User $user)
{
$this->user = $user;
}