mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 00:49:02 +00:00
Update Response.php
This commit is contained in:
parent
e93010c5fe
commit
7fdde1a518
1 changed files with 1 additions and 1 deletions
|
|
@ -675,7 +675,7 @@ class Response extends SwooleResponse
|
|||
$isPrivilegedUser = Auth::isPrivilegedUser($roles);
|
||||
$isAppUser = Auth::isAppUser($roles);
|
||||
|
||||
if ((!$isPrivilegedUser && !$isAppUser) || !$showSensitive) {
|
||||
if ((!$isPrivilegedUser && !$isAppUser) && !$showSensitive) {
|
||||
$data->setAttribute($key, '');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue