Ver Fonte

Update ApiCaller.js

Dorin Paslaru há 9 anos atrás
pai
commit
da752a684b
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/components/ApiCaller/ApiCaller.js

+ 1 - 1
src/components/ApiCaller/ApiCaller.js

@@ -94,7 +94,7 @@ class ApiCaller {
       };
       };
 
 
       request.onerror = (result) => {
       request.onerror = (result) => {
-        NotificationActions.notify("Request failed, there is a problem with the connection.", "error")
+        NotificationActions.notify("Request failed, there might be a problem with the connection to the server.", "error")
 
 
         console.log('Error Response: ', result.data);
         console.log('Error Response: ', result.data);
         reject({ status: 500, data: 'Connection error' });
         reject({ status: 500, data: 'Connection error' });