aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/nav_panel/nav_panel.js4
-rw-r--r--src/services/follow_request_fetcher/follow_request_fetcher.service.js (renamed from src/services/notifications_fetcher/request_fetcher.service.js)4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/components/nav_panel/nav_panel.js b/src/components/nav_panel/nav_panel.js
index c4034417..aa3f7605 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
index beb6c320..125ff3e1 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