Safer popup params to object logic

This commit is contained in:
2022-08-13 00:40:20 +02:00
parent b7ac8bce83
commit 577a64a32f
4 changed files with 10 additions and 12 deletions

View File

@@ -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));