feat: success notify

This commit is contained in:
karishmas6
2024-10-03 05:10:15 +05:30
parent 4339e94ed4
commit 35d2c75b15

View File

@@ -55,7 +55,7 @@ const ApiKeyManager = () => {
try {
const { data } = await axios.post('http://localhost:8080/auth/generate-api-key');
setApiKey(data.api_key);
notify('info', `Generated API Key: ${data.api_key}`);
notify('success', `Generated API Key successfully`);
} catch (error) {
console.error('Error generating API key', error);
} finally {