1
0
Fork 0
mirror of synced 2024-07-06 23:21:05 +12: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:
Steven Nguyen 2024-01-02 23:04:26 +00:00
parent fae7a758ff
commit 45ee8a11a5
No known key found for this signature in database
GPG key ID: 22EB8611C67E9E5C

View file

@ -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',
];
/**