diff --git a/src/Models/Laravel/Traits/EagerLoadSelectFields.php b/src/Models/Laravel/Traits/EagerLoadSelectFields.php index 67dbf79..8233d82 100644 --- a/src/Models/Laravel/Traits/EagerLoadSelectFields.php +++ b/src/Models/Laravel/Traits/EagerLoadSelectFields.php @@ -129,7 +129,7 @@ public static function loadClaims( 'beam_id', 'token_chain_id', isset($fields['wallet']) ? 'wallet_public_key' : null, - isset($fields['collection']) || isset($fields['token']) ? 'collection_id' : null, + isset($fields['collection']) ? 'collection_id' : null, ...(isset($fields['qr']) ? ['code'] : []), ...(static::$query == 'GetSingleUseCodes' ? ['code', 'nonce'] : ['nonce']), ...BeamClaimType::getSelectFields($fieldKeys = array_keys($fields)),