mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
Removing extra logging
This commit is contained in:
parent
b70dacea92
commit
5dc13e6738
1 changed files with 0 additions and 5 deletions
|
|
@ -45,11 +45,7 @@ async function uploadCsvToS3({
|
|||
headers: { "Content-Type": "text/csv" },
|
||||
});
|
||||
|
||||
console.log("Something funny is going on");
|
||||
console.log(response);
|
||||
|
||||
if (!response.ok) {
|
||||
console.error(response.text);
|
||||
console.error(response);
|
||||
throw new Error("Network response was not ok");
|
||||
}
|
||||
|
|
@ -105,7 +101,6 @@ export const SubmitPlan = ({
|
|||
const { mutate, isLoading } = useMutation(generatePresignedUrl, {
|
||||
onSuccess: (data) => {
|
||||
// After the presigned URL has been generated, we can upload the file to S3
|
||||
console.log("Trying mutateUploadCsv");
|
||||
try {
|
||||
const response = mutateUploadCsv({
|
||||
presignedUrl: data.url,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue