Skip to content

Commit

Permalink
Fix serialization issue on MintV1
Browse files Browse the repository at this point in the history
  • Loading branch information
lorisleiva committed Jun 14, 2023
1 parent e14afd0 commit f02dda4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clients/js/src/generated/types/metadataArgs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export function getMetadataArgsSerializer(
tokenStandard: value.tokenStandard ?? some(TokenStandard.NonFungible),
uses: value.uses ?? none(),
tokenProgramVersion:
value.tokenProgramVersion ?? some(TokenProgramVersion.Original),
value.tokenProgramVersion ?? TokenProgramVersion.Original,
})
) as Serializer<MetadataArgsArgs, MetadataArgs>;
}
2 changes: 1 addition & 1 deletion configs/kinobi.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ kinobi.update(
editionNonce: k.vNone(),
tokenStandard: k.vSome(k.vEnum("TokenStandard", "NonFungible")),
uses: k.vNone(),
tokenProgramVersion: k.vSome(k.vEnum("TokenProgramVersion", "Original")),
tokenProgramVersion: k.vEnum("TokenProgramVersion", "Original"),
},
})
);
Expand Down

0 comments on commit f02dda4

Please sign in to comment.