#388: update naming properly

This commit is contained in:
dave 2019-02-28 12:53:37 -05:00
parent 9f1214555e
commit cccf33d6dd
2 changed files with 4 additions and 4 deletions

View file

@ -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: {

View file

@ -14,8 +14,8 @@ const startFetching = ({credentials, store}) => {
return setInterval(boundFetchAndUpdate, 10000)
}
const requestFetcher = {
const followRequestFetcher = {
startFetching
}
export default requestFetcher
export default followRequestFetcher