diff options
author | cwm <chriswmartin@protonmail.com> | 2018-01-09 09:48:14 -0600 |
---|---|---|
committer | cwm <chriswmartin@protonmail.com> | 2018-01-09 09:48:14 -0600 |
commit | 6d1c325167d12300e86d678a054777acd5d3077a (patch) | |
tree | 900a6e4024d96da2e5b73540c97dbb772f685c80 /app/javascript/flavours/glitch/actions/push_notifications/index.js | |
parent | 7f4374d97dd7dce6ec9f632a3cc8527490cbe2c6 (diff) |
Rename key to path in actions and reducers for settings (tootsuite pr #6105)
Diffstat (limited to 'app/javascript/flavours/glitch/actions/push_notifications/index.js')
-rw-r--r-- | app/javascript/flavours/glitch/actions/push_notifications/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/actions/push_notifications/index.js b/app/javascript/flavours/glitch/actions/push_notifications/index.js index 376b55b62..2ffec500a 100644 --- a/app/javascript/flavours/glitch/actions/push_notifications/index.js +++ b/app/javascript/flavours/glitch/actions/push_notifications/index.js @@ -15,9 +15,9 @@ export { register, }; -export function changeAlerts(key, value) { +export function changeAlerts(path, value) { return dispatch => { - dispatch(setAlerts(key, value)); + dispatch(setAlerts(path, value)); dispatch(saveSettings()); }; } |