Skip to content

Commit

Permalink
fix: property does not exist on type object
Browse files Browse the repository at this point in the history
  • Loading branch information
RainBoltz committed Dec 2, 2024
1 parent 32d81c5 commit 8115fab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/get-multisigs-by-user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default async function getMultisigsByUser(
{},
process.env.TONAPI_API_KEY,
);
if (!response.multisigs) {
if (!response["multisigs"]) {
return {
success: true,
data: {
Expand All @@ -28,7 +28,7 @@ export default async function getMultisigsByUser(
}

const items: UserMultisigInfo[] = [];
for (const multisig of response.multisigs) {
for (const multisig of response["multisigs"]) {
const item: UserMultisigInfo = {
address: multisig.address,
version: MultisigContractVersion.MULTISIG_V2,
Expand Down

0 comments on commit 8115fab

Please sign in to comment.