From 42f6e0b22de2539d31149027cfdc20342728776b Mon Sep 17 00:00:00 2001 From: Spacelord Date: Sun, 9 Mar 2025 23:07:02 +0100 Subject: [PATCH] TODO: replace parseDynamicSortBy --- src/helpers/prisma_helpers.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/helpers/prisma_helpers.ts b/src/helpers/prisma_helpers.ts index 6c8dd6b..17efc07 100644 --- a/src/helpers/prisma_helpers.ts +++ b/src/helpers/prisma_helpers.ts @@ -7,6 +7,7 @@ * @returns {object} */ export function parseDynamicSortBy(SortField: string, Order: string) { + // TODO: { [value.sort.toString()]: value.order.toString() } return JSON.parse(`{ "${SortField}": "${Order}" }`); }