Skip to content

Commit

Permalink
Fixed introspection of Schema::subscriptionType
Browse files Browse the repository at this point in the history
  • Loading branch information
peldax authored Oct 27, 2023
1 parent c70cf07 commit 3cc6d72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Introspection/Schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ static function (SchemaDef $schema) : ?Type {
'subscriptionType',
$this->container->getType('__Type'),
static function (SchemaDef $schema) : ?Type {
return $schema->getMutation();
return $schema->getSubscription();
},
),
ResolvableField::create(
Expand Down

0 comments on commit 3cc6d72

Please sign in to comment.