From f31ec3e5b8950e0ae73012621e3f91993df34a53 Mon Sep 17 00:00:00 2001 From: maxim Date: Wed, 19 Jun 2024 17:21:14 +0300 Subject: [PATCH] change `Google Sheet` script url --- src/components/UI/BookingForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/UI/BookingForm.tsx b/src/components/UI/BookingForm.tsx index d9fdbbf..e4ccc41 100644 --- a/src/components/UI/BookingForm.tsx +++ b/src/components/UI/BookingForm.tsx @@ -46,7 +46,7 @@ const BoockingForm: React.FC = ({closeForm, pre_name, pre_emai const [submitMessage, setSubmitMessage] = useState('') const onSubmit: SubmitHandler = async (data) => { - const GOOGLE_SHEET_URL = 'https://script.google.com/macros/s/AKfycbyv3l6YobXBZpFH5jlpJCZof-OsJ-5H5cG1-ukP0AGuCDFAh_lgpOMictIumrd7C7eDMw/exec' + const GOOGLE_SHEET_URL = 'https://script.google.com/macros/s/AKfycbwbj6gajsfpBfzkbncjcO0SPo-fiQwyk2_G8aEFZMKRLwupzTXPXqVeUc57ZLOCBaizVA/exec' try { const response = await fetch(GOOGLE_SHEET_URL, {