mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
Update src/Appwrite/Utopia/Response.php
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
a6d1f46133
commit
9503507011
1 changed files with 1 additions and 1 deletions
|
|
@ -809,7 +809,7 @@ class Response extends SwooleResponse
|
|||
}
|
||||
|
||||
if ($rule['sensitive']) {
|
||||
$roles = $this->authorization->getRoles() ?? [];
|
||||
$roles = $this->authorization?->getRoles() ?? [];
|
||||
$isPrivilegedUser = Auth::isPrivilegedUser($roles);
|
||||
$isAppUser = Auth::isAppUser($roles);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue