mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Update allowed attributes list messages queries
Remove the following because queries on arrays/JSON are not supported: - topics - users - targets - deliveryErrors - data Remove the following because they don't exist: - providerId - deliveredTo Add the following as an allowed attribute so it can be queried on the Console: - scheduledAt - deliveredTotal - providerType
This commit is contained in:
@@ -5,16 +5,12 @@ namespace Appwrite\Utopia\Database\Validator\Queries;
|
||||
class Messages extends Base
|
||||
{
|
||||
public const ALLOWED_ATTRIBUTES = [
|
||||
'topics',
|
||||
'users',
|
||||
'targets',
|
||||
'providerId',
|
||||
'scheduledAt',
|
||||
'deliveredAt',
|
||||
'deliveredTo',
|
||||
'deliveryErrors',
|
||||
'deliveredTotal',
|
||||
'status',
|
||||
'description',
|
||||
'data'
|
||||
'providerType',
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user