Skip to content

Commit

Permalink
fixed user badges
Browse files Browse the repository at this point in the history
  • Loading branch information
dan13ram committed Mar 15, 2023
1 parent 085ccc7 commit 2ef39ed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@quest-chains/sdk",
"description": "An SDK for building applications on top of Quest Chains",
"version": "0.2.8",
"version": "0.2.9",
"license": "GPL-3.0",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
7 changes: 4 additions & 3 deletions src/graphql/badgesForUser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ export type UserBadges = {
name?: string | null | undefined;
description?: string | null | undefined;
imageUrl?: string | null | undefined;
tokenAddress?: string | null | undefined;
tokenId?: string | null | undefined;
questChain?: {
tokenAddress: string | null | undefined;
tokenId: string | null | undefined;
questChain: {
address: string | null | undefined;
slug?: string | null | undefined;
};
}[];
chainId: string;
Expand Down
1 change: 1 addition & 0 deletions src/graphql/queries.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ query BadgesForUser($address: ID!) {
tokenId
questChain {
address
slug
}
}
}
Expand Down

0 comments on commit 2ef39ed

Please sign in to comment.