Skip to content

Commit

Permalink
Changed result type from wrapper object to primitive
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRibcage committed Jul 2, 2024
1 parent 39e6170 commit ecc1ed5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Challenge, Participant } from "../models";
export const count = async (
challenge: Challenge,
participant: Participant,
): Promise<Result<Number, Error>> => {
): Promise<Result<number, Error>> => {
const accessibleChallengesResult = await db
.select({
pId: accessibleChallenges.participantId,
Expand Down

0 comments on commit ecc1ed5

Please sign in to comment.