reject unauthorized
This commit is contained in:
1 parent
686b96d4b3
commit
5876b97ede
19 files changed
+37
-14
No files matched your search
@@ -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]);
|
||||
|
||||
Reference in new issue
Block a user