Skip to content

Commit 5e1225f

Browse files
committed
extend timeout
1 parent b97b5a7 commit 5e1225f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/api/deploy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) => {
3131
pin: req.body.pin
3232
}
3333
// const opts = {headers: {Authorization: 'Bearer ' + do_token, Accept: 'application/json'}};
34-
const new_pt = await axios.post(process.env.APP_URL + '/auth/addPatient', new_pt_body, {timeout: 50000});
34+
const new_pt = await axios.post(process.env.APP_URL + '/auth/addPatient', new_pt_body, {timeout: 120000});
3535
const url_full = new_pt.data.url;
3636
const doc_patient = await patients.get(req.body.email);
3737
doc_patient.phr = url_full;

0 commit comments

Comments
 (0)