Skip to content

Commit

Permalink
chore: post-rebase cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
justlevine committed Dec 11, 2024
1 parent d56a92c commit efd5241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Type/InterfaceType/EditorBlockInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public static function register_type(): void {
'type' => 'String',
'description' => __( 'The (GraphQL) type of the block', 'wp-graphql-content-blocks' ),
'resolve' => static function ( $block ) {
return WPGraphQLHelpers::get_type_name_for_block( $block['blockName'] ?? null );
return $block->type;
},
],
],
Expand Down

0 comments on commit efd5241

Please sign in to comment.