Fixed bug causing error 500 in some cases.

This commit is contained in:
CalDescent 2022-09-20 22:26:30 +01:00
parent 84d42b93e1
commit 951c85faf1

View File

@ -24,7 +24,10 @@ public class ArbitraryResourceMetadata {
this.description = description;
this.tags = tags;
this.category = category;
this.categoryName = category.getName();
if (category != null) {
this.categoryName = category.getName();
}
}
public static ArbitraryResourceMetadata fromTransactionMetadata(ArbitraryDataTransactionMetadata transactionMetadata) {