Extracted string to use i18n implementation.
This commit is contained in:
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'));
|
||||
|
||||
Reference in new issue
Block a user