mirror of
https://github.com/d0zingcat/solana-agent-kit.git
synced 2026-05-18 23:26:45 +00:00
chore: husky docs
This commit is contained in:
@@ -37,7 +37,9 @@ const pythFetchPriceAction: Action = {
|
||||
}),
|
||||
handler: async (_agent: SolanaAgentKit, input: Record<string, any>) => {
|
||||
try {
|
||||
const priceFeedId = await fetchPythPriceFeedID(input.tokenSymbol);
|
||||
const priceFeedId = await fetchPythPriceFeedID(
|
||||
input.tokenSymbol as string,
|
||||
);
|
||||
|
||||
const priceStr = await fetchPythPrice(priceFeedId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user