Skip to content

Commit ef477b6

Browse files
authored
Update export.js to search by user's ID
1 parent c5b6ab6 commit ef477b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/api/export.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const handler = nc({
7171
// look up user's zip code and census tract based on xid
7272
const userPromise = prisma.user.findUnique({
7373
where: {
74-
xid: row.xid,
74+
id: row.xid,
7575
},
7676
});
7777

0 commit comments

Comments
 (0)