From 43b1f153ad933b66ffbc34de0065689e39618e5b Mon Sep 17 00:00:00 2001 From: andrewlalis Date: Tue, 2 Dec 2025 16:23:29 -0500 Subject: [PATCH] Change format for map function. --- finnow-api/source/transaction/service.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/finnow-api/source/transaction/service.d b/finnow-api/source/transaction/service.d index d1ae318..280a7c3 100644 --- a/finnow-api/source/transaction/service.d +++ b/finnow-api/source/transaction/service.d @@ -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) {