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) {
106
106
animation_url : metadata . animation_url ?? undefined ,
107
107
external_url : metadata . external_url ?? undefined ,
108
108
background_color : metadata . background_color ?? undefined ,
109
- properties : metadata . properties || metadata . attributes ,
109
+ properties : metadata . properties ?? undefined ,
110
+ attributes : metadata . attributes ?? undefined ,
110
111
} ;
111
112
const transaction = mintTo ( {
112
113
contract,
Original file line number Diff line number Diff line change @@ -101,7 +101,8 @@ export async function erc721mintTo(fastify: FastifyInstance) {
101
101
animation_url : metadata . animation_url ?? undefined ,
102
102
external_url : metadata . external_url ?? undefined ,
103
103
background_color : metadata . background_color ?? undefined ,
104
- properties : metadata . properties || metadata . attributes ,
104
+ properties : metadata . properties ?? undefined ,
105
+ attributes : metadata . attributes ?? undefined ,
105
106
} ;
106
107
const transaction = mintTo ( {
107
108
contract,
You can’t perform that action at this time.
0 commit comments