Change format for map function.
Build and Deploy API / build-and-deploy (push) Successful in 1m42s Details

This commit is contained in:
andrewlalis 2025-12-02 16:23:29 -05:00
parent c48d8009f5
commit 43b1f153ad
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@ TransactionCategoryResponse[] getChildCategories(ProfileDataSource ds, ulong cat
import std.algorithm : map;
import std.array : array;
auto categories = ds.getTransactionCategoryRepository().findAllByParentId(Optional!ulong.of(categoryId));
return categories.map!(TransactionCategoryResponse.of).array;
return categories.map!(c => TransactionCategoryResponse.of(c)).array;
}
TransactionCategoryResponse createCategory(ProfileDataSource ds, in CategoryPayload payload) {