Skip to content

Commit

Permalink
simple fix for "tokens_children" prop
Browse files Browse the repository at this point in the history
  • Loading branch information
ashkuc committed Jul 16, 2023
1 parent b90d9cc commit ccdb9b9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions apps/web-api/src/tokens/token.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,9 @@ export class TokenDTO extends SimpleTokenDTO implements Partial<Tokens> {
@Field(() => String, { nullable: true })
tokens_parent?: string;

@Field(() => String, { nullable: true })
tokens_children?: string;
// todo - define exact type
@Field(() => [GraphQLJSONObject], { nullable: true })
tokens_children?: object[];

@Field(() => String, { nullable: true })
collection_description?: string;
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.52",
"version": "2.0.53",
"description": "",
"author": "Unique Network Team",
"private": true,
Expand Down

0 comments on commit ccdb9b9

Please sign in to comment.