mirror of
https://github.com/Qortal/qortal.git
synced 2025-05-10 11:47:51 +00:00
Fixed bug causing error 500 in some cases.
This commit is contained in:
parent
84d42b93e1
commit
951c85faf1
@ -24,8 +24,11 @@ public class ArbitraryResourceMetadata {
|
|||||||
this.description = description;
|
this.description = description;
|
||||||
this.tags = tags;
|
this.tags = tags;
|
||||||
this.category = category;
|
this.category = category;
|
||||||
|
|
||||||
|
if (category != null) {
|
||||||
this.categoryName = category.getName();
|
this.categoryName = category.getName();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public static ArbitraryResourceMetadata fromTransactionMetadata(ArbitraryDataTransactionMetadata transactionMetadata) {
|
public static ArbitraryResourceMetadata fromTransactionMetadata(ArbitraryDataTransactionMetadata transactionMetadata) {
|
||||||
if (transactionMetadata == null) {
|
if (transactionMetadata == null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user