got rid of console.logs
This commit is contained in:
parent
8ee87b88e9
commit
171e8fd458
8 changed files with 14 additions and 44 deletions
|
@ -24,11 +24,9 @@ export const sendToDatabase = async (data: any): Promise<boolean> => {
|
|||
const status = response.data.status;
|
||||
const success = response.data.response;
|
||||
postMessage({ status, success });
|
||||
console.log(status);
|
||||
return success;
|
||||
} catch (error) {
|
||||
postMessage({ status: 500, success: false });
|
||||
console.log("NO");
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue