mirror of
https://github.com/d0zingcat/solana-agent-kit.git
synced 2026-05-27 15:11:14 +00:00
chore: docs + lint
This commit is contained in:
@@ -27,7 +27,7 @@ export async function stakeWithSolayer(
|
||||
|
||||
if (!response.ok) {
|
||||
const errorData = await response.json();
|
||||
throw new Error(errorData.message || 'Staking request failed');
|
||||
throw new Error(errorData.message || "Staking request failed");
|
||||
}
|
||||
|
||||
const data = await response.json();
|
||||
@@ -61,4 +61,4 @@ export async function stakeWithSolayer(
|
||||
console.error(error);
|
||||
throw new Error(`Solayer sSOL staking failed: ${error.message}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user