Skip to content

Commit

Permalink
Update controller.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jalaym825 authored Oct 15, 2024
1 parent ffd4c3b commit b1f63f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/users/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const getUserStats = async (req, res) => {

try {
// Get user and their PRs
const user = await prisma.users.findUnique({
const user = await prisma.users.findFirst({
where: { githubId: {
equals: githubId,
mode: 'insensitive'
Expand Down

0 comments on commit b1f63f3

Please sign in to comment.