From 00db87580e38ce7b476621725eeb72c92ee5a69f Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Tue, 17 Sep 2024 22:36:54 +0530 Subject: [PATCH] chore: lint --- src/api/interpretation.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/api/interpretation.ts b/src/api/interpretation.ts index 7c83b37f..0215292f 100644 --- a/src/api/interpretation.ts +++ b/src/api/interpretation.ts @@ -2,12 +2,12 @@ import { default as axios } from "axios"; const handleUploadCredentials = async (credentials: any) => { try { - await axios.post('http://localhost:8080/integration/upload-credentials', { credentials: JSON.parse(credentials) }); - alert('Service Account credentials saved successfully.'); + await axios.post('http://localhost:8080/integration/upload-credentials', { credentials: JSON.parse(credentials) }); + alert('Service Account credentials saved successfully.'); } catch (error) { - console.error('Error uploading credentials:', error); - alert('Failed to upload credentials.'); + console.error('Error uploading credentials:', error); + alert('Failed to upload credentials.'); } - }; +};