Skip to content

Commit

Permalink
Update export.js to search by user's ID
Browse files Browse the repository at this point in the history
  • Loading branch information
avenmia authored Aug 11, 2023
1 parent c5b6ab6 commit ef477b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/api/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const handler = nc({
// look up user's zip code and census tract based on xid
const userPromise = prisma.user.findUnique({
where: {
xid: row.xid,
id: row.xid,
},
});

Expand Down

1 comment on commit ef477b6

@vercel
Copy link

@vercel vercel bot commented on ef477b6 Aug 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

hierr – ./

hierr-git-main-codeforhawaii.vercel.app
hierr-codeforhawaii.vercel.app
hierr.vercel.app

Please sign in to comment.