mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-03-11 03:49:07 +00:00
Safer popup params to object logic
This commit is contained in:
@@ -295,9 +295,6 @@ const getRequestStatus = (id, type = undefined) => {
|
||||
const { status } = resp;
|
||||
if (status === 200) return true;
|
||||
|
||||
const errorMessage = `api error getting request status for id ${id} and type ${type}`;
|
||||
// eslint-disable-next-line no-console
|
||||
console.error(errorMessage);
|
||||
return false;
|
||||
})
|
||||
.catch(err => Promise.reject(err));
|
||||
|
||||
Reference in New Issue
Block a user