Skip to content

Commit

Permalink
Update src/GraphQL/Resolver/AssetType.php
Browse files Browse the repository at this point in the history
Co-authored-by: JiaJia Ji <kingjia90@gmail.com>
  • Loading branch information
robertSt7 and kingjia90 committed Nov 13, 2023
1 parent c888d1c commit cad695d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GraphQL/Resolver/AssetType.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function resolveMetadata($value = null, $args = [], $context = [], Resolv
return null;
}

//"object_154,asset_489"
//Relational data would return as a comma separated list. each element type and id by `_`, eg. "object_154,asset_489"
$event = new AssetEvent($asset, [
'metadata' => $metadata,
'context' => $context
Expand Down

0 comments on commit cad695d

Please sign in to comment.