chore: lint

This commit is contained in:
karishmas6
2024-09-17 22:36:54 +05:30
parent 6312753d77
commit 00db87580e

View File

@@ -2,12 +2,12 @@ import { default as axios } from "axios";
const handleUploadCredentials = async (credentials: any) => { const handleUploadCredentials = async (credentials: any) => {
try { try {
await axios.post('http://localhost:8080/integration/upload-credentials', { credentials: JSON.parse(credentials) }); await axios.post('http://localhost:8080/integration/upload-credentials', { credentials: JSON.parse(credentials) });
alert('Service Account credentials saved successfully.'); alert('Service Account credentials saved successfully.');
} catch (error) { } catch (error) {
console.error('Error uploading credentials:', error); console.error('Error uploading credentials:', error);
alert('Failed to upload credentials.'); alert('Failed to upload credentials.');
} }
}; };