about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/actions/markers.js
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2020-09-19 14:30:09 +0200
committerThibG <thib@sitedethib.com>2020-09-19 15:01:46 +0200
commit787d5d728923393f12421a480b3c7aee789a11fe (patch)
treec89b8a0c11e162b7882c42a4f3330a4d7e56dfbd /app/javascript/flavours/glitch/actions/markers.js
parent312c936d5191b682d68b317ed7b6883aeee2c14e (diff)
Fix minor bugs
Diffstat (limited to 'app/javascript/flavours/glitch/actions/markers.js')
-rw-r--r--app/javascript/flavours/glitch/actions/markers.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/app/javascript/flavours/glitch/actions/markers.js b/app/javascript/flavours/glitch/actions/markers.js
index 96e29accf..6b49ebf88 100644
--- a/app/javascript/flavours/glitch/actions/markers.js
+++ b/app/javascript/flavours/glitch/actions/markers.js
@@ -105,15 +105,15 @@ export function submitMarkers() {
 };
 
 export const fetchMarkers = () => (dispatch, getState) => {
-    const params = { timeline: ['notifications'] };
+  const params = { timeline: ['notifications'] };
 
-    dispatch(fetchMarkersRequest());
+  dispatch(fetchMarkersRequest());
 
-    api(getState).get('/api/v1/markers', { params }).then(response => {
-      dispatch(fetchMarkersSuccess(response.data));
-    }).catch(error => {
-      dispatch(fetchMarkersFail(error));
-    });
+  api(getState).get('/api/v1/markers', { params }).then(response => {
+    dispatch(fetchMarkersSuccess(response.data));
+  }).catch(error => {
+    dispatch(fetchMarkersFail(error));
+  });
 };
 
 export function fetchMarkersRequest() {