this.followService.follow(notEmptyHosts).subscribe(
status => {
this.notificationsService.success('Success', 'Follow request(s) sent!')
- // Wait requests between pods
- setTimeout(() => this.router.navigate([ '/admin/friends/list' ]), 1000)
+ this.router.navigate([ '/admin/follows/following-list' ])
},
err => this.notificationsService.error('Error', err.message)