Skip to content

Commit

Permalink
Merge pull request #2 from b-hdev/fix
Browse files Browse the repository at this point in the history
fixing error
  • Loading branch information
b-hdev authored Apr 10, 2024
2 parents 4432dd7 + b8eaa64 commit 274ec76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http/controllers/check-ins/history.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export async function history(request: FastifyRequest, reply: FastifyReply) {
page: z.coerce.number().min(1).default(1),
});

const { page } = checkInHistoryQuerySchema.parse(request.body);
const { page } = checkInHistoryQuerySchema.parse(request.query);

const fetchUserCheckInHistoryUseCase = makeFetchUserCheckInsHistoryUseCase();

Expand Down

0 comments on commit 274ec76

Please sign in to comment.