mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Fix blacklist entries
This commit is contained in:
@@ -81,8 +81,9 @@ class Schema
|
||||
* schema defining types and resolvers for all response models.
|
||||
*
|
||||
* @param App $utopia
|
||||
* @param callable $complexity
|
||||
* @return array
|
||||
* @throws \Exception
|
||||
* @throws Exception
|
||||
*/
|
||||
protected static function api(App $utopia, callable $complexity): array
|
||||
{
|
||||
@@ -134,7 +135,10 @@ class Schema
|
||||
* queries and mutations for the collections they make up.
|
||||
*
|
||||
* @param App $utopia
|
||||
* @param callable $getAttributes
|
||||
* @param callable $complexity
|
||||
* @param callable $attributes
|
||||
* @param array $urls
|
||||
* @param array $params
|
||||
* @return array
|
||||
* @throws \Exception
|
||||
*/
|
||||
|
||||
@@ -17,9 +17,9 @@ class Mapper
|
||||
private static array $models = [];
|
||||
private static array $args = [];
|
||||
private static array $blacklist = [
|
||||
'v1/mock',
|
||||
'v1/graphql',
|
||||
'v1/account/sessions/oauth2',
|
||||
'/v1/mock',
|
||||
'/v1/graphql',
|
||||
'/v1/account/sessions/oauth2',
|
||||
];
|
||||
|
||||
public static function init(array $models): void
|
||||
|
||||
Reference in New Issue
Block a user