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:
parent
fae7a758ff
commit
45ee8a11a5
1 changed files with 3 additions and 7 deletions
|
@ -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',
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue