Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 3198 | Rev 3276 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 3198 Rev 3274
Línea 23... Línea 23...
23
      console.log('>>: error > ', error)
23
      console.log('>>: error > ', error)
24
    }
24
    }
25
  }
25
  }
Línea 26... Línea 26...
26
 
26
 
27
  const markReadNotifications = () => {
27
  const markReadNotifications = () => {
28
    axios.post('/notifications/markRead')
28
    axios.post('/notifications/mark-all-read')
29
      .then(({ data }) => data.success)
29
      .then(({ data }) => data.success)
30
      .catch(err => {
30
      .catch(err => {
31
        dispatch(addNotification({
31
        dispatch(addNotification({
32
          style: "error",
32
          style: "error",