got rid of console.logs

This commit is contained in:
YasinOnm08 2024-10-01 09:22:33 +02:00
parent 8ee87b88e9
commit 171e8fd458
8 changed files with 14 additions and 44 deletions

View file

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