reject unauthorized

This commit is contained in:
Alex Holliday committed 2025-11-27 20:41:49 +00:00
1 parent 686b96d4b3
commit 5876b97ede
19 files changed
+37 -14

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ export const useGet = <T,>(
// Config
{
onError: (err) => {
console.log(err);
console.error(err);
toastError(
err?.response?.data?.message ||
err.message ||
@@ -25,6 +25,7 @@ export const useInitForm = ({
notificationChannels: initialData?.notificationChannels || [],
name: initialData?.name || "",
interval: humanInterval,
rejectUnauthorized: initialData?.rejectUnauthorized ?? true,
};
return { defaults };
}, [initialData]);