Skip to content

Commit

Permalink
Scope create beam
Browse files Browse the repository at this point in the history
  • Loading branch information
enjinabner committed Jan 29, 2024
1 parent f9be1dc commit d969cf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GraphQL/Mutations/CreateBeamMutation.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ protected function rules(array $args = []): array
'image' => ['filled', 'url', 'max:1024'],
'start' => ['filled', 'date', 'before:end'],
'end' => ['filled', 'date', 'after:start'],
'collectionId' => ['bail', 'filled', 'exists:collections,collection_chain_id', new IsCollectionOwnerOrApproved()],
'collectionId' => ['bail', 'filled', new IsCollectionOwnerOrApproved()],
'tokens' => ['bail', 'array', 'min:1', 'max:1000', new UniqueTokenIds()],
'tokens.*.attributes' => Rule::forEach(function ($value, $attribute) use ($args) {
if (empty($value)) {
Expand Down

0 comments on commit d969cf3

Please sign in to comment.