about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/actions/push_notifications/setter.js
diff options
context:
space:
mode:
authorcwm <chriswmartin@protonmail.com>2018-01-09 09:48:14 -0600
committercwm <chriswmartin@protonmail.com>2018-01-09 09:48:14 -0600
commit6d1c325167d12300e86d678a054777acd5d3077a (patch)
tree900a6e4024d96da2e5b73540c97dbb772f685c80 /app/javascript/flavours/glitch/actions/push_notifications/setter.js
parent7f4374d97dd7dce6ec9f632a3cc8527490cbe2c6 (diff)
Rename key to path in actions and reducers for settings (tootsuite pr #6105)
Diffstat (limited to 'app/javascript/flavours/glitch/actions/push_notifications/setter.js')
-rw-r--r--app/javascript/flavours/glitch/actions/push_notifications/setter.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/actions/push_notifications/setter.js b/app/javascript/flavours/glitch/actions/push_notifications/setter.js
index a2cc41c5a..5561766bf 100644
--- a/app/javascript/flavours/glitch/actions/push_notifications/setter.js
+++ b/app/javascript/flavours/glitch/actions/push_notifications/setter.js
@@ -23,11 +23,11 @@ export function clearSubscription () {
   };
 }
 
-export function setAlerts (key, value) {
+export function setAlerts (path, value) {
   return dispatch => {
     dispatch({
       type: SET_ALERTS,
-      key,
+      path,
       value,
     });
   };