Skip to content

Commit

Permalink
Merge pull request #293 from UniqueNetwork/feature/schemas-v2
Browse files Browse the repository at this point in the history
fixed collection.potential_attributes and token.attributes GraphQL types
  • Loading branch information
ashkuc authored Mar 7, 2024
2 parents bc64b7e + 02064cb commit 69a4ff0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/web-api/src/collection/collection.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export class CollectionDTO implements Partial<Collections> {
@Field(() => GraphQLJSONObject, { nullable: true })
default_token_image?: object | null;

@Field(() => GraphQLJSONObject, { nullable: true })
@Field(() => GraphQLJSON, { nullable: true })
potential_attributes?: any[];

@Field(() => GraphQLJSONObject, { nullable: true })
Expand Down
2 changes: 1 addition & 1 deletion apps/web-api/src/tokens/token.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export class SimpleTokenDTO implements Partial<Tokens> {
@Field(() => GraphQLJSONObject, { nullable: true })
image_details?: object;

@Field(() => GraphQLJSONObject, { nullable: true })
@Field(() => GraphQLJSON, { nullable: true })
attributes?: object[];

@Field(() => GraphQLJSONObject, { nullable: true })
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "polkastats-backend-uniquenetwork",
"version": "2.0.89",
"version": "2.0.90",
"description": "",
"author": "Unique Network Team",
"private": true,
Expand Down

0 comments on commit 69a4ff0

Please sign in to comment.