File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/server/routes/contract/extensions Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,8 @@ export async function erc1155mintTo(fastify: FastifyInstance) {
106106 animation_url : metadata . animation_url ?? undefined ,
107107 external_url : metadata . external_url ?? undefined ,
108108 background_color : metadata . background_color ?? undefined ,
109- properties : metadata . properties || metadata . attributes ,
109+ properties : metadata . properties ?? undefined ,
110+ attributes : metadata . attributes ?? undefined ,
110111 } ;
111112 const transaction = mintTo ( {
112113 contract,
Original file line number Diff line number Diff line change @@ -101,7 +101,8 @@ export async function erc721mintTo(fastify: FastifyInstance) {
101101 animation_url : metadata . animation_url ?? undefined ,
102102 external_url : metadata . external_url ?? undefined ,
103103 background_color : metadata . background_color ?? undefined ,
104- properties : metadata . properties || metadata . attributes ,
104+ properties : metadata . properties ?? undefined ,
105+ attributes : metadata . attributes ?? undefined ,
105106 } ;
106107 const transaction = mintTo ( {
107108 contract,
You can’t perform that action at this time.
0 commit comments