Skip to content

Commit 83e4a0c

Browse files
committed
fix: make action a required param
1 parent 4984914 commit 83e4a0c

File tree

1 file changed

+1
-2
lines changed
  • packages/apps/ability-uniswap-swap/src/lib

1 file changed

+1
-2
lines changed

packages/apps/ability-uniswap-swap/src/lib/schemas.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ export const abilityParamsSchema = z.object({
55
.enum(['approve', 'swap', 'approveAndSwap'])
66
.describe(
77
'Dictates whether to perform an ERC20 approval, a swap, or both using the signed Uniswap quote',
8-
)
9-
.optional(),
8+
),
109
rpcUrlForUniswap: z
1110
.string()
1211
.describe(

0 commit comments

Comments
 (0)