We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c101631 commit aaba101Copy full SHA for aaba101
packages/pods/src/Pods.ts
@@ -48,9 +48,7 @@ export const mint = async (
48
$or: [
49
{ mintReferral: referralAddress },
50
{
51
- rewardsRecipients: {
52
- $and: [{ $first: referralAddress }, { $last: referralAddress }],
53
- },
+ rewardsRecipients: [referralAddress],
54
},
55
],
56
})
packages/pods/src/utils.ts
@@ -10,7 +10,7 @@ export type AndArrayItem =
10
| { minterArguments: { $regex: string } }
11
| { tokenId: number | string }
12
| { mintReferral: Address }
13
- | { rewardsRecipients: { $and: [{ $first: Address }, { $last: Address }] } }
+ | { rewardsRecipients: Address[] }
14
| { $or: AndArrayItem[] }
15
16
export async function getLatestTokenId(
0 commit comments