This commit is contained in:
stasbilay02 committed 2024-12-26 14:04:35 +03:00
1 parent b5b7befd34
commit 28c8e24847
7 files changed
+70 -15

No files matched your search

@@ -82,6 +82,16 @@ class UserService
return '';
}
public static function getAuthUserId(): string
{
$user = self::getAuthUser();
if ($user){
return $user->id;
}
return '';
}
public static function getAuthUserPhoto(): string|null
{
$user = self::getAuthUser();