From cccf33d6ddc48038e643e651bd4cddc3355dbf18 Mon Sep 17 00:00:00 2001 From: dave Date: Thu, 28 Feb 2019 12:53:37 -0500 Subject: [PATCH] #388: update naming properly --- src/components/nav_panel/nav_panel.js | 4 ++-- .../follow_request_fetcher.service.js} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename src/services/{notifications_fetcher/request_fetcher.service.js => follow_request_fetcher/follow_request_fetcher.service.js} (88%) diff --git a/src/components/nav_panel/nav_panel.js b/src/components/nav_panel/nav_panel.js index c403441754..aa3f760533 100644 --- a/src/components/nav_panel/nav_panel.js +++ b/src/components/nav_panel/nav_panel.js @@ -1,4 +1,4 @@ -import requestFetcher from '../../services/notifications_fetcher/request_fetcher.service.js' +import followRequestFetcher from '../../services/follow_request_fetcher/follow_request_fetcher.service' const NavPanel = { created () { @@ -6,7 +6,7 @@ const NavPanel = { const store = this.$store const credentials = store.state.users.currentUser.credentials - requestFetcher.startFetching({ store, credentials }) + followRequestFetcher.startFetching({ store, credentials }) } }, computed: { diff --git a/src/services/notifications_fetcher/request_fetcher.service.js b/src/services/follow_request_fetcher/follow_request_fetcher.service.js similarity index 88% rename from src/services/notifications_fetcher/request_fetcher.service.js rename to src/services/follow_request_fetcher/follow_request_fetcher.service.js index beb6c320dd..125ff3e1df 100644 --- a/src/services/notifications_fetcher/request_fetcher.service.js +++ b/src/services/follow_request_fetcher/follow_request_fetcher.service.js @@ -14,8 +14,8 @@ const startFetching = ({credentials, store}) => { return setInterval(boundFetchAndUpdate, 10000) } -const requestFetcher = { +const followRequestFetcher = { startFetching } -export default requestFetcher +export default followRequestFetcher