mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix(database): filter status
This commit is contained in:
@@ -553,6 +553,10 @@ class Database
|
||||
*/
|
||||
static protected function encodeAttribute(string $name, $value)
|
||||
{
|
||||
if (!self::$statusFilters) {
|
||||
return $value;
|
||||
}
|
||||
|
||||
if (!isset(self::$filters[$name])) {
|
||||
return $value;
|
||||
throw new Exception('Filter not found');
|
||||
|
||||
Reference in New Issue
Block a user