Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean authored and github-actions[bot] committed Jul 19, 2024
1 parent 7456486 commit eef5aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fieldtypes/BelongsToFieldtype.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function toGqlType()

return [
'type' => GraphQL::type("runway_graphql_types_{$resource->handle()}"),
'resolve' => function ($item, $args, $context, ResolveInfo $info) use ($resource) {
'resolve' => function ($item, $args, $context, ResolveInfo $info) {
if (! $item instanceof Model) {
return $item->get($info->fieldName);
}
Expand Down

0 comments on commit eef5aec

Please sign in to comment.