debug notification

This commit is contained in:
2023-07-13 12:00:27 +03:30
parent ae60d656c2
commit e3923d8116

View File

@@ -44,3 +44,13 @@ const Notifications = async (directionApp, t, response) => {
};
export default Notifications;
/*
usage document
** for pending use ( Notifications(directionApp, t, undefined) ) this before your request.
** for success use ( Notifications(directionApp, t, response) ) this inside .then() of your request.
** for Error and Warning use ( Notifications(directionApp, t, error.response) ) this inside .catche() of your request.
end usage document
*/