fix(api-frontend): resolved failure in inviting existing infisical users to organization

This commit is contained in:
akhilmhdh
2022-12-27 23:22:47 +05:30
parent c28d857086
commit c653f807f4
5 changed files with 34 additions and 17 deletions
+1 -7
View File
@@ -10,13 +10,7 @@ const checkAuth = async () => {
headers: {
'Content-Type': 'application/json'
}
}).then((res) => {
if (res && res.status == 200) {
return res;
} else {
console.log('Not authorized');
}
});
}).then((res) => res);
};
export default checkAuth;