1
0
Fork 0
mirror of synced 2024-07-02 05:00:33 +12:00

Fix syntax error

This commit is contained in:
Jake Barnby 2024-02-15 17:56:06 +13:00
parent 142e92b4b8
commit 5f59f4c5c8
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C
2 changed files with 2 additions and 2 deletions

View file

@ -923,7 +923,7 @@ return [
/** Targets */
Exception::TARGET_PROVIDER_INVALID_TYPE => [
'name' => Exception::PROVIDER_INVALID_TYPE,
'name' => Exception::TARGET_PROVIDER_INVALID_TYPE,
'description' => 'Target has an invalid provider type.',
'code' => 400,
],

View file

@ -2323,7 +2323,7 @@ App::get('/v1/messaging/topics/:topicId/subscribers')
throw new Exception(Exception::TOPIC_NOT_FOUND);
}
\array_push($queries, Query::equal('topicInternalId', [$topic->getInternalId()]));
$queries[] = Query::equal('topicInternalId', [$topic->getInternalId()]);
/**
* Get cursor document if there was a cursor query, we use array_filter and reset for reference $cursor to $queries