chore: lint
This commit is contained in:
@@ -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.');
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user