#388: update naming properly
This commit is contained in:
parent
9f1214555e
commit
cccf33d6dd
2 changed files with 4 additions and 4 deletions
|
@ -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: {
|
||||
|
|
|
@ -14,8 +14,8 @@ const startFetching = ({credentials, store}) => {
|
|||
return setInterval(boundFetchAndUpdate, 10000)
|
||||
}
|
||||
|
||||
const requestFetcher = {
|
||||
const followRequestFetcher = {
|
||||
startFetching
|
||||
}
|
||||
|
||||
export default requestFetcher
|
||||
export default followRequestFetcher
|
Loading…
Reference in a new issue