fix: archive msg 404
This commit is contained in:
@@ -101,7 +101,8 @@ const baseQueryWithTokenCheck = async (args: any, api: any, extraOptions: any) =
|
|||||||
break;
|
break;
|
||||||
case 404:
|
case 404:
|
||||||
{
|
{
|
||||||
if (api.endpoint !== "login") {
|
const whiteList404 = ["login", "getArchiveMessage"];
|
||||||
|
if (!whiteList404.includes(api.endpoint)) {
|
||||||
toast.error("Request Not Found");
|
toast.error("Request Not Found");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user