Skip to content

Commit efeb3b4

Browse files
committed
fixes
1 parent aa89128 commit efeb3b4

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Appwrite/GraphQL/Types/Mapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ public static function param(
274274
case \Appwrite\Event\Validator\Event::class:
275275
case \Appwrite\Event\Validator\FunctionEvent::class:
276276
case \Appwrite\Network\Validator\CNAME::class:
277-
case \Appwrite\Network\Validator\Email::class:
277+
case \Utopia\Emails\Validator\Email::class:
278278
case \Appwrite\Network\Validator\Redirect::class:
279279
case \Appwrite\Network\Validator\DNS::class:
280280
case \Appwrite\Network\Validator\Origin::class:

src/Appwrite/SDK/Specification/Format/OpenAPI3.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ public function parse(): array
450450
Database::VAR_POLYGON => '[[[1, 2], [3, 4], [5, 6], [1, 2]]]',
451451
};
452452
break;
453-
case \Appwrite\Network\Validator\Email::class:
453+
case \Utopia\Emails\Validator\Email::class:
454454
$node['schema']['type'] = $validator->getType();
455455
$node['schema']['format'] = 'email';
456456
$node['schema']['x-example'] = ($param['example'] ?? '') ?: '[email protected]';

src/Appwrite/SDK/Specification/Format/Swagger2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ public function parse(): array
455455
Database::VAR_POLYGON => '[[[1, 2], [3, 4], [5, 6], [1, 2]]]',
456456
};
457457
break;
458-
case \Appwrite\Network\Validator\Email::class:
458+
case \Utopia\Emails\Validator\Email::class:
459459
$node['type'] = $validator->getType();
460460
$node['format'] = 'email';
461461
$node['x-example'] = ($param['example'] ?? '') ?: '[email protected]';

0 commit comments

Comments
 (0)