From ecc1ed51f39287f6596c1e2ce990883c325c6ea2 Mon Sep 17 00:00:00 2001 From: Cameron Stirrup <43656137+MrRibcage@users.noreply.github.com> Date: Tue, 2 Jul 2024 16:34:43 +0000 Subject: [PATCH] Changed result type from wrapper object to primitive --- .../services/accessible-challenges-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/challenges-platform/services/accessible-challenges-service.ts b/app/challenges-platform/services/accessible-challenges-service.ts index afeb5d7..34774d8 100644 --- a/app/challenges-platform/services/accessible-challenges-service.ts +++ b/app/challenges-platform/services/accessible-challenges-service.ts @@ -7,7 +7,7 @@ import { Challenge, Participant } from "../models"; export const count = async ( challenge: Challenge, participant: Participant, -): Promise> => { +): Promise> => { const accessibleChallengesResult = await db .select({ pId: accessibleChallenges.participantId,