Commit cccf33d6 authored by Dave LiPuma's avatar Dave LiPuma

#388: update naming properly

parent 9f121455
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: {
......
......@@ -14,8 +14,8 @@ const startFetching = ({credentials, store}) => {
return setInterval(boundFetchAndUpdate, 10000)
}
const requestFetcher = {
const followRequestFetcher = {
startFetching
}
export default requestFetcher
export default followRequestFetcher
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment