diff --git a/src/app/components/admin/model/ModelInfoModal.tsx b/src/app/components/admin/model/ModelInfoModal.tsx index e1c857e..a71308d 100644 --- a/src/app/components/admin/model/ModelInfoModal.tsx +++ b/src/app/components/admin/model/ModelInfoModal.tsx @@ -31,7 +31,6 @@ const ModelInfoModal = ({ closeModal, data, status }: ModelInfoModalProps) => { const verRes = await fetch( `${process.env.NEXT_PUBLIC_NEXT_SERVER}/api/admin/model/version?page=${0}`, - { method: 'POST' }, ) const verData = await verRes.json() diff --git a/src/app/components/coverletter/AiAnalysis.tsx b/src/app/components/coverletter/AiAnalysis.tsx index d153957..a6a8f8e 100644 --- a/src/app/components/coverletter/AiAnalysis.tsx +++ b/src/app/components/coverletter/AiAnalysis.tsx @@ -30,6 +30,12 @@ const AiAnalysis = ({ analysisData }: AiAnalysisProps) => { fetchData() }, []) + const jobSuitability = + Number(analysisData?.job_suitability) > 95 + ? Number(analysisData?.job_suitability) - 5 + : analysisData?.job_suitability + console.log(jobSuitability) + return (