mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
Testing axiom
This commit is contained in:
parent
934b41473d
commit
b982e554f7
1 changed files with 2 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ import { Label } from "@/app/shadcn_components/ui/label";
|
|||
import { useRouter } from "next/navigation";
|
||||
import { useMutation } from "@tanstack/react-query";
|
||||
import { useSession } from "next-auth/react";
|
||||
import { log } from `next-axiom`;
|
||||
|
||||
async function generatePresignedUrl({
|
||||
userId,
|
||||
|
|
@ -106,6 +107,7 @@ export const SubmitPlan = ({
|
|||
onSuccess: (data) => {
|
||||
// After the presigned URL has been generated, we can upload the file to S3
|
||||
console.log("Trying mutateUploadCsv");
|
||||
log.debug("Testing 123")
|
||||
try {
|
||||
const response = mutateUploadCsv({
|
||||
presignedUrl: data.url,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue