Skip to content

Commit

Permalink
fix(be): check wallet null
Browse files Browse the repository at this point in the history
  • Loading branch information
harisato committed Sep 7, 2023
1 parent ab130ff commit 3ac6f3a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/manga/manga.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,10 @@ export class MangaService {
}

const walletAddress = result.data.authorizer_users[0].wallet_address;
if (walletAddress === null)
return {
nft,
};

// get contract_addresses
const queryMangaResult = await this.graphqlSvc.query(
Expand Down

0 comments on commit 3ac6f3a

Please sign in to comment.