Skip to content

Commit

Permalink
dont keep @illinois.edu in filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
devksingh4 committed Sep 10, 2024
1 parent e3d9581 commit 2d42262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clientv2/src/components/SearchProfiles/Results.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const ProfileSearchResults: React.FC<ProfileSearchResultsProp> = ({ data
for (const outerPromise of allPromises) {
if (outerPromise.status === "fulfilled" && (await outerPromise.value.promise).status === 200) {
numSuccess += 1;
realBlobs.push({blob: (await outerPromise.value.promise).blob(), filename: `${urlMapper[outerPromise.value.url]}.pdf`});
realBlobs.push({blob: (await outerPromise.value.promise).blob(), filename: `${urlMapper[outerPromise.value.url].replace("@illinois.edu", "")}.pdf`});
} else {
numError += 1;
}
Expand Down

0 comments on commit 2d42262

Please sign in to comment.