Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ export async function erc1155mintTo(fastify: FastifyInstance) {
animation_url: metadata.animation_url ?? undefined,
external_url: metadata.external_url ?? undefined,
background_color: metadata.background_color ?? undefined,
properties: metadata.properties || metadata.attributes,
properties: metadata.properties ?? undefined,
attributes: metadata.attributes ?? undefined,
};
const transaction = mintTo({
contract,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ export async function erc721mintTo(fastify: FastifyInstance) {
animation_url: metadata.animation_url ?? undefined,
external_url: metadata.external_url ?? undefined,
background_color: metadata.background_color ?? undefined,
properties: metadata.properties || metadata.attributes,
properties: metadata.properties ?? undefined,
attributes: metadata.attributes ?? undefined,
};
const transaction = mintTo({
contract,
Expand Down