Skip to content

Commit

Permalink
Collection name fallback in transaction operation (#1081)
Browse files Browse the repository at this point in the history
* collection name fallback in transaction operation

* use proper fallback
  • Loading branch information
tanghel authored Jun 14, 2023
1 parent cddf805 commit 6faf040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/endpoints/tokens/token.transfer.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export class TokenTransferService {

for (const operation of operations) {
if (elasticNftsDict[operation.identifier]) {
operation.name = elasticNftsDict[operation.identifier].data?.name;
operation.name = elasticNftsDict[operation.identifier].data?.name ?? operation.name;
}
}
}
Expand Down

0 comments on commit 6faf040

Please sign in to comment.