From be51f1e9ccc829b277f4e899376083029aa95304 Mon Sep 17 00:00:00 2001 From: Kuba Date: Mon, 9 Jun 2025 20:39:00 +0200 Subject: [PATCH] Mail sender is working --- ArtisanConnect/api/email.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArtisanConnect/api/email.jsx b/ArtisanConnect/api/email.jsx index 3de50a5..1280d24 100644 --- a/ArtisanConnect/api/email.jsx +++ b/ArtisanConnect/api/email.jsx @@ -17,14 +17,14 @@ export const sendEmail = async (emailData) => { if (!response.ok) { const errorMessage = `HTTP error! Status: ${response.status}`; - console.error("Error sending email:", errorMessage); + console.error("Error przy wysyłaniu maila", errorMessage); return { success: false, error: errorMessage }; } const result = await response.text(); return { success: true, result }; } catch (error) { - console.error("Error sending email:", error.message); + console.error("Error przy wysyłaniu maila:", error.message); return { success: false, error: error.message }; } }; \ No newline at end of file