Extracted string to use i18n implementation.

This commit is contained in:
Skorpios committed 2025-03-16 14:46:17 -07:00
1 parent caab2c36b5
commit c84a547f35
4 files changed
+31 -3

No files matched your search

@@ -90,7 +90,10 @@ const useNotifications = () => {
}
try {
const response = await networkService.axiosInstance.post('/notifications/test-webhook', payload);
const response = await networkService.testNotification({
platform: type,
payload: payload
});
if (response.data.success === true) {
toast.success(t('notifications.testSuccess'));